Multiple Sequence Alignment

Multiple Sequence Alignment

Laboratory 10: multiple sequence alignment This series of laboratory exercises attempts to align, using a variety of algorithms, a relatively conserved set of protein coding sequences (easy) and divergent set of of nrDNA sequences (difficult). In plants, nrDNA loci consist of many repeats. Each repeat is composed of ETS, 18S, ITS1, 5.8S, ITS2, and 26S. The sequences that you will work with today are 5.8S and ITS2 (with a very small portion of 26S). The 5.8S region is highly conserved and easily aligned whereas the ITS2 region is less conserved and therefore more difficult to align. Both sets of sequences are from cycads—a group that begun to diverge from one another in the Permian. These sequences were part of a study of cycad phenology (Griffith et al. 2012). Tasks 1. To retrieve the nrITS data, open a web browser (e.g. Firefox). (a) Go to https://www.ncbi.nlm.nih.gov/nuccore (b) Search for internal AND transcribed AND Cycadidae AND Griffith NOT mitochondrial. You should find 38 records. (c) Download the sequences to a fasta file by clicking on ‘Send to’, select ‘File’, then select ‘FASTA’ in the ‘Format’ pop–up, and finally click on ‘Create File’. (d) Confirm that ‘sequence.fasta’ has 38 sequences using grep. (e) Clean up the GenBank FASTA format by typing ./GenBank2fasta.js -i sequence.fasta > nrITS.fasta in the terminal. These directions assume that you com- pleted laboratory 8 and that the resulting script is in the same directory as your newly downloaded sequences—if you moved the script, you will have to use the correct path. If for some reason, you failed to complete laboratory 8, you can download a work- ing copy of GenBank2fasta.js by typing wget https://www.nybg.org/files/scientists/ dlittle/GenBank2fasta.js.tar.xz; tar xvJf GenBank2fasta.js.tar.xz in the termi- nal. 2. Install the alignment program MUSCLE (Edgar 2004a,b) by typing sudo apt install muscle in the terminal. Type your password when prompted. Make sure that your system is updated as well (use sudo apt update, sudo apt upgrade, and sudo apt autoremove as needed). 3. Align the sequences with MUSCLE by typing muscle -in nrITS.fasta -out muscle.fasta in the terminal. 4. Install seaview (Galtier et al. 1996)—an alignment editor/viewer—by typing sudo apt install seaview in the terminal. When/if prompted, type your password and agree to the installation. 5. Start seaview by typing seaview & in the terminal. 6. Select ‘Open Fasta’ from the ‘File’ menu and navigate to ‘muscle.fasta’. Answer question 1. 7. Install the alignment program MAFFT (Katoh et al. 2002; Katoh & Toh 2008) from source. (a) Download the compressed source code by typing wget https://mafft.cbrc.jp/alignment/ software/mafft-7.453-with-extensions-src.tgz in the terminal. (b) Expand the tar ball by typing tar xvzf mafft-7.453-with-extensions-src.tgz in the terminal. K47 (c) Change to the newly expanded directory by typing cd mafft-7.453-with-extensions/ in the terminal. (d) View the ‘readme’ file using the viewer of your choice (e.g. less). This file contains instructions for building and installing MAFFT. (e) Change to the ‘core’ directory by typing cd core/ in the terminal. (f) Compile the program using the make script by typing make -j$(nproc) CFLAGS="-march= native -O2" in the terminal (there will be a fair number of warnings, but no errors). (g) Install the newly compiled software by typing sudo make install in the terminal. Type your password if prompted. (h) Change to the ‘extensions’ directory by typing cd ../extensions/ in the terminal. (i) Compile the extensions by typing make -j$(nproc) CFLAGS="-march=native -O2" in the terminal (again there will be a fair number of warnings, but no errors). (j) Install the extensions by typing sudo make install in the terminal. Type your password if prompted. (k) Exit the MAFFT directory by typing cd in the terminal. (l) Read the on–line MAFFT instructions (https://mafft.cbrc.jp/alignment/software/algorithms/ algorithms.html) to learn how MAFFT works and the less informative man page to de- termine command–line options. Answer question 2. 8. To numerically compare alignments, download and install the alignment scoring program pairs.pl. (a) Download the script by typing wget https://www.nybg.org/files/scientists/dlittle/ pairs.pl in the terminal. (b) Make pairs.pl executable by typing chmod 0755 pairs.pl in the terminal. (c) Move pairs.pl to your scripts directory by typing mv pairs.pl scripts/ in the terminal. 9. Align the sequences using the default settings in MAFFT by typing mafft --auto nrITS.fasta > mafft-auto.fasta in the terminal. Open the alignment in seaview and answer question 3. 10. Compare the two alignments by typing pairs.pl -i muscle.fasta and pairs.pl -i mafft-auto.fasta in the terminal. Answer question 4. 11. Align the sequences using an iteratively refined global alignment by typing mafft --retree 100 --maxiterate 1000 --fmodel --globalpair nrITS.fasta > mafft-it.fasta in the ter- minal. Answer question 5. 12. The optional parameters ‘--ep’ and ‘--op’ can be used to further control the alignment. Gen- erally ep is set to a value lower than op and op is set somewhere between 1 and 3. Experiment with these parameters by trying at least ten different combinations (e.g. type mafft --retree 100 --maxiterate 1000 --fmodel --globalpair --ep 1.00 --op 0.00 nrITS.fasta > mafft-it10.fasta in the terminal to set ep to 1 and op to zero). Use pairs.pl to com- pare the alignments using the automatic alignment as the reference (e.g. type pairs.pl -i mafft-it10.fasta in the terminal). Fill in the table below and answer question 6. K48 --ep --op sum of pairs 13. Align the sequences using an iteratively refined local alignment by typing mafft --retree 100 --maxiterate 1000 --fmodel --localpair nrITS.fasta > mafft-il.fasta in the terminal. Answer question 7. 14. Difficult to align sequences can often be better aligned if additional structural data areused. In the case of protein coding sequences, aligning nucleotides in amino acid space often produces a better alignment (i.e. translating the nucleotides to amino acids, aligning the amino acids, back translating the amino acids to nucleotides). In the case of rDNA there are no amino acids that can be used, but the secondary structure of the rDNA may be used. Secondary structure alignment can be very slow, so first select a representative subset of sequences to align (one of each genus). Open ‘nrITS.fasta’ in the GUI editor of your choice and locate the sequences GQ203984.1, GQ203988.1, GQ203989.1, GQ203992.1, GQ203994.1, GQ203996.1, GQ204004.1, GQ204009.1, GQ204010.1, and GQ204017.1. Cut these sequences from the file and paste them into a new file. Save the new file as ‘skeleton.fasta’ and save the original file as ‘remainders.fasta’. 15. Using grep, confirm that ’skeleton.fasta’ and ‘remainders.fasta’ have exactly 38 sequences total. 16. To produce a fast structural alignment, type mafft-xinsi --retree 100 --maxiterate 1000 --fmodel skeleton.fasta > skeleton-structure.fasta in the terminal. Answer question 8. 17. Add the remaining sequences to the structural alignment by typing mafft --maxiterate 1000 --seed skeleton-structure.fasta remainders.fasta > mafft-structure.fasta in the ter- minal. Answer question 9. 18. To retrieve the protein coding sequences, open a web browser (e.g. Firefox). (a) Go to https://www.ncbi.nlm.nih.gov/nuccore (b) Search for ‘Cycadidae AND Griffith AND rpoB’. You should find 42 records. (c) Download the sequences to a fasta file by clicking on ‘Send to’, select ‘File’, then select ‘FASTA’ in the ‘Format’ pop–up, and finally click on ‘Create File’. (d) Confirm that downloaded file has 42 sequences using grep. (e) Clean up the GenBank FASTA format using GenBank2fasta.js. Save the cleaned se- quences in a file named ‘rpoB.fasta’. 19. Align the rpoB nucleotide sequences using MUSCLE. Answer question 10. K49 20. To align the nucleotide sequences as amino acids, it is necessary to first install translatorX (Abascal et al. 2010). (a) Download the script by typing wget http://pc16141.mncn.csic.es/cgi-bin/translatorx_ vLocal.pl in the terminal. (b) Move the script (and change its name) to your scripts directory by typing mv translatorx_vLocal.pl scripts/translatorX.pl in the terminal. Enter your password when prompted. (c) Make the script executable by typing chmod +x scripts/translatorX.pl in the terminal. 21. Align the nucleotide sequences as amino acids using MUSCLE and translatorX by typ- ing translatorX.pl -i rpoB.fasta -o rpoB-muscleX.fasta -p M -c 11 -t T in the termi- nal. Answer question 11. 22. In order to use ‘non–supported’ alignment programs with translatorX, one must run trans- latorX to create the amino acid file (like in step 21), run the alternative alignment program (or manually align), and then run translatorX again to back translate the amino acids to nucleotides. For example, to use KALIGN (Lassmann & Sonnhammer 2005) and translatorX: (a) Install KALIGN by typing sudo apt install kalign in the terminal. Enter your pass- word if prompted. (b) Align the amino acid sequences by typing kalign -i rpoB-muscleX.fasta.aa_ali.fasta -o rpoB-kalign.fasta in the terminal. (c) Create a nucleotide file for translatorX by typing cat rpoB-muscleX.fasta.nt_ali.fasta | tr -d '-' > rpoB-x.fasta in the terminal. Answer question 12. (d) Convert the amino acid alignment to a nucleotide alignment by typing translatorX.pl -i rpoB-x.fasta -a rpoB-kalign.fasta -o rpoB-kalignX.fasta -p M -c 11 -t T in the terminal.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us