Jenna M. Lang edited Building a 16S rDNA Phylogenetic Tree.md  over 9 years ago

Commit id: 504581a84496eb7fe7cc00406fd2df3382a2d2ee

deletions | additions      

       

##Clean up the RDP taxon names  The RDP alignment will have taxon names that most of the downstream software tools will not tolerate because they consist of special text characters. So, we have written a little Perl script (cleanup.pl) that will remove those special characters and replace them with underscores. This script is included in the zip file of scripts on figshare Figshare  \cite{852a8297-50f7-4630-ae05-7645b7fb6d11}. To run cleanup.pl, first move it to your Applications folder. Then, in a Terminal window, navigate to the directory that contains the RDP alignment that you've just downloaded. Then, type: perl /Applications/cleanup.pl -i RDP_alignment.fa -o RDP_alignment_clean.fa 

This compiling of FastTree requires a software tool called gcc (the Gnu Compiler Collection, if you want to know - see [http://gcc.gnu.org](http://gcc.gnu.org) for more detail). If your attempt to compile FastTree with the instructions above fails, the most likely reason is that you do not have gcc. You can download and install gcc from Xcode here https://developer.apple.com/downloads/index.action?q=xcode  In order to download Xcode Xcode,  you will need to register as a developer with Apple which takes only a couple of minutes. After you register, click on the apple next to "Developer" at the top of the page. Then, click on the Xcode download link, which will ultimately take you to the Mac App Store, where you can follow the instructions to install Xcode. Once it is installed, open the program and open preferences (under the Xcode tab). Click on the downloads option and install the command line tools. Once you have successfully downloaded and installed Xcode and the command line tools, return to your Applications folder in a Terminal window and type again: