2
# interactive commands are commented out
6
echo "Check mapping file"
7
rm -rf mapping_output ; check_id_map.py -m Fasting_Map.txt -o mapping_output -v
10
rm -rf split_library_output ; split_libraries.py -m Fasting_Map.txt -f Fasting_Example.fna -q Fasting_Example.qual -o split_library_output
13
echo "Pick OTUs through OTU table"
14
rm -rf otus ; pick_de_novo_otus.py -i split_library_output/seqs.fna -o otus
16
#print_biom_table_summary.py -i otus/otu_table.biom
20
make_otu_heatmap_html.py -i otus/otu_table.biom -o otus/OTU_Heatmap/
24
make_otu_network.py -m Fasting_Map.txt -i otus/otu_table.biom -o otus/OTU_Network
26
#Make Taxa Summary Charts
28
rm -rf wf_taxa_summary ; summarize_taxa_through_plots.py -i otus/otu_table.biom -o wf_taxa_summary -m Fasting_Map.txt
30
echo "Alpha rarefaction"
31
#alpha_diversity.py -h
32
echo "alpha_diversity:metrics shannon,PD_whole_tree,chao1,observed_species" > alpha_params.txt
34
rm -rf wf_arare ; alpha_rarefaction.py -i otus/otu_table.biom -m Fasting_Map.txt -o wf_arare/ -p alpha_params.txt -t otus/rep_set.tre
36
echo "Beta diversity and plots"
37
rm -rf wf_bdiv_even146 ; beta_diversity_through_plots.py -i otus/otu_table.biom -m Fasting_Map.txt -o wf_bdiv_even146/ -t otus/rep_set.tre -e 146
39
echo "Jackknifed beta diversity"
40
rm -rf wf_jack ; jackknifed_beta_diversity.py -i otus/otu_table.biom -t otus/rep_set.tre -m Fasting_Map.txt -o wf_jack -e 110
42
echo "Make Bootstrapped Tree"
43
make_bootstrapped_tree.py -m wf_jack/unweighted_unifrac/upgma_cmp/master_tree.tre -s wf_jack/unweighted_unifrac/upgma_cmp/jackknife_support.txt -o wf_jack/unweighted_unifrac/upgma_cmp/jackknife_named_nodes.pdf
46
rm -rf 3d_biplot ; make_3d_plots.py -i wf_bdiv_even146/unweighted_unifrac_pc.txt -m Fasting_Map.txt -t wf_taxa_summary/otu_table_L3.txt --n_taxa_keep 5 -o 3d_biplot