From 3b3467aeef87a16d41bb0c3b8d368acc7de59b53 Mon Sep 17 00:00:00 2001 From: Raphael Coimbra <48868934+rtfcoimbra@users.noreply.github.com> Date: Sat, 29 May 2021 00:54:17 +0200 Subject: [PATCH] Added iqtree command --- mitogenomes_workflow.txt | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/mitogenomes_workflow.txt b/mitogenomes_workflow.txt index 239b995..e581cd1 100644 --- a/mitogenomes_workflow.txt +++ b/mitogenomes_workflow.txt @@ -3,10 +3,13 @@ # # Description: # Subsample raw reads with seqtk, assemble and annotate mitochondrial genomes -# with MitoZ, and extract protein coding sequences. Some steps must be performed -# manually and/or with the use of independent GUI programs. +# with MitoZ, and extract protein coding sequences, and construct maximum +# likelihood phylogeny based on protein coding sequences with IQ-TREE. Some +# steps must be performed manually and/or with the use of independent GUI +# programs. # # Requirements: +# iqtree # mitoz # parallel # pigz @@ -162,6 +165,27 @@ done # download the PCG alignments, check them by eye, and realign them if necessary ################################################################################ +# create a nexus file with PCG alignment partitions named 'partitions.nex' +echo "#nexus +begin sets; + charset part1 = ATP6.fa: CODON2, *; + charset part2 = ATP8.fa: CODON2, *; + charset part3 = COX1.fa: CODON2, *; + charset part4 = COX2.fa: CODON2, *; + charset part5 = COX3.fa: CODON2, *; + charset part6 = CYTB.fa: CODON2, *; + charset part7 = ND1.fa: CODON2, *; + charset part8 = ND2.fa: CODON2, *; + charset part9 = ND3.fa: CODON2, *; + charset part10 = ND4.fa: CODON2, *; + charset part11 = ND4L.fa: CODON2, *; + charset part12 = ND5.fa: CODON2, *; + charset part13 = ND6.fa: CODON2, *; +end;" + +# infer maximum likelihood phylogeny based on protein coding sequences +iqtree -nt 6 -o JN632674 -spp partitions.nex -bb 1000 + ############################# I M P O R T A N T ! ############################## # download mitogenome FASTAs, correct circularity and start position on Geneious # align mitogenomes to the NCBI reference and check the alignment by eye