Logging started at 16:48:17 on 06 May 2016
QIIME version: 1.8.0
qiime_config values:
blastmat_dir /opt/shared/Qiime/1.8.0/blast-2.2.22-release/data
sc_queue all.q
pynast_template_alignment_fp /opt/shared/Qiime/1.8.0/core_set_aligned.fasta.imputed
cluster_jobs_fp /opt/shared/Qiime/1.8.0/qiime-1.8.0-release/bin/start_parallel_jobs.py
assign_taxonomy_reference_seqs_fp /opt/shared/Qiime/1.8.0/gg_otus-13_8-release/rep_set/97_otus.fasta
torque_queue friendlyq
template_alignment_lanemask_fp /opt/shared/Qiime/1.8.0/lanemask_in_1s_and_0s
jobs_to_start 1
cloud_environment False
qiime_scripts_dir /opt/shared/Qiime/1.8.0/qiime-1.8.0-release/bin
denoiser_min_per_core 50
working_dir /tmp/
python_exe_fp /opt/shared/Qiime/1.8.0/python-2.7.3-release/bin/python
temp_dir /tmp/
blastall_fp /opt/shared/Qiime/1.8.0/blast-2.2.22-release/bin/blastall
seconds_to_sleep 60
assign_taxonomy_id_to_taxonomy_fp /opt/shared/Qiime/1.8.0/gg_otus-13_8-release/taxonomy/97_otu_taxonomy.txt
parameter file values:
parallel:jobs_to_start 1
Input file md5 sums:
otu_table_rare.biom: 2ab3e1b3cd5020623928e52444f50278
mapping_file_metadata.txt: bed2028c6f74ee1c9cae85ffb7042af8
rep_set.tre: 93f464052fcc24586e6a506bdc013a95
Executing commands.
# Sample OTU table at 124797 seqs/sample command
/opt/shared/Qiime/1.8.0/python-2.7.3-release/bin/python /opt/shared/Qiime/1.8.0/qiime-1.8.0-release/bin/single_rarefaction.py -i otu_table_rare.biom -o bdiv_even100//otu_table_rare_even124797.biom -d 124797
Stdout:
Stderr:
# Beta Diversity (weighted_unifrac) command
/opt/shared/Qiime/1.8.0/python-2.7.3-release/bin/python /opt/shared/Qiime/1.8.0/qiime-1.8.0-release/bin/beta_diversity.py -i bdiv_even100//otu_table_rare_even124797.biom -o bdiv_even100/ --metrics weighted_unifrac -t rep_set.tre
Stdout:
Stderr:
# Rename distance matrix (weighted_unifrac) command
mv bdiv_even100//weighted_unifrac_otu_table_rare_even124797.txt bdiv_even100//weighted_unifrac_dm.txt
Stdout:
Stderr:
# Principal coordinates (weighted_unifrac) command
/opt/shared/Qiime/1.8.0/python-2.7.3-release/bin/python /opt/shared/Qiime/1.8.0/qiime-1.8.0-release/bin/principal_coordinates.py -i bdiv_even100//weighted_unifrac_dm.txt -o bdiv_even100//weighted_unifrac_pc.txt
Stdout:
Stderr:
# Make emperor plots, weighted_unifrac) command
make_emperor.py -i bdiv_even100//weighted_unifrac_pc.txt -o bdiv_even100//weighted_unifrac_emperor_pcoa_plot/ -m mapping_file_metadata.txt
*** ERROR RAISED DURING STEP: Make emperor plots, weighted_unifrac)
Command run was:
make_emperor.py -i bdiv_even100//weighted_unifrac_pc.txt -o bdiv_even100//weighted_unifrac_emperor_pcoa_plot/ -m mapping_file_metadata.txt
Command returned exit status: 2
Stdout:
Stderr
Usage: make_emperor.py [options] {-i/--input_coords INPUT_COORDS -m/--map_fp MAP_FP}
[] indicates optional input (order unimportant)
{} indicates required input (order unimportant)
This script automates the creation of three-dimensional PCoA plots to be visualized with Emperor using Google Chrome.
Example usage:
Print help message and exit
make_emperor.py -h
Plot PCoA data: Visualize the a PCoA file colored using a corresponding mapping file:
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map.txt -o emperor_output
Coloring by metadata mapping file: Additionally, using the supplied mapping file and a specific category or any combination of the available categories. When using the -b option, the user can specify the coloring for multiple header names, where each header is separated by a comma. The user can also combine mapping headers and color by the combined headers that are created by inserting an '&&' between the input header names. Color by 'Treatment' and by the result of concatenating the 'DOB' category and the 'Treatment' category:
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map.txt -b 'Treatment&&DOB,Treatment' -o emperor_colored_by
PCoA plot with an explicit axis: Create a PCoA plot with an axis of the plot representing the 'DOB' of the samples. This option is useful when presenting a gradient from your metadata e. g. 'Time' or 'pH':
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map.txt -a DOB -o pcoa_dob
PCoA plot with an explicit axis and using --missing_custom_axes_values: Create a PCoA plot with an axis of the plot representing the 'DOB' of the samples and define the position over the gradient of those samples missing a numeric value; in this case we are going to plot the samples in the value 20060000. You can select for each explicit axis which value you want to use for the missing values:
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map_modified.txt -a DOB -o pcoa_dob_with_missing_custom_axes_values -x 'DOB:20060000'
PCoA plot with an explicit axis and using --missing_custom_axes_values but setting different values based on another column: Create a PCoA plot with an axis of the plot representing the 'DOB' of the samples and defining the position over the gradient of those samples missing a numeric value but using as reference another column of the mapping file. In this case we are going to plot the samples that are Control on the Treatment column on 20080220 and on 20080240 those that are Fast
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map_modified.txt -a DOB -o pcoa_dob_with_missing_custom_axes_with_multiple_values -x 'DOB:Treatment==Control=20080220' -x 'DOB:Treatment==Fast=20080240'
Jackknifed principal coordinates analysis plot: Create a jackknifed PCoA plot (with confidence intervals for each sample) passing as the input a directory of coordinates files (where each file corresponds to a different OTU table) and use the standard deviation method to compute the dimensions of the ellipsoids surrounding each sample:
make_emperor.py -i unweighted_unifrac_pc -m Fasting_Map.txt -o jackknifed_pcoa -e sdev
Jackknifed PCoA plot with a master coordinates file: Passing a master coordinates file (--master_pcoa) will display the ellipsoids centered by the samples in this file:
make_emperor.py -i unweighted_unifrac_pc -s unweighted_unifrac_pc/pcoa_unweighted_unifrac_rarefaction_110_5.txt -m Fasting_Map.txt -o jackknifed_with_master
BiPlots: To see which taxa are the ten more prevalent in the different areas of the PCoA plot, you need to pass a summarized taxa file i. e. the output of summarize_taxa.py. Note that if the the '--taxa_fp' has fewer than 10 taxa, the script will default to use all.
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map.txt -t otu_table_L3.txt -o biplot
BiPlots with extra options: To see which are the three most prevalent taxa and save the coordinates where these taxa are centered, you can use the -n (number of taxa to keep) and the --biplot_fp (output biplot file path) options.
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map.txt -t otu_table_L3.txt -o biplot_options -n 3 --biplot_fp biplot.txt
Drawing connecting lines between samples: To draw lines betwen samples within a category use the '--add_vectors' option. For example to connect the lines by the 'Treatment' category.
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map.txt -o vectors --add_vectors Treatment
Drawing connecting lines between samples with an explicit axis: To draw lines between samples within a category of the mapping file and have them sorted by a category that's explicitly represented in the 3D plot use the '--add_vectors' and the '-a' option.
make_emperor.py -i unweighted_unifrac_pc.txt -m Fasting_Map.txt --add_vectors Treatment,DOB -a DOB -o sorted_by_DOB
Compare two coordinate files: To draw replicates of the same samples like for a procustes plot.
make_emperor.py -i compare -m Fasting_Map.txt --compare_plots -o comparison
make_emperor.py: error: The sample identifiers in the coordinates file must have at least one match with the data contained in mapping file. Verify you are using a coordinates file and a mapping file that belong to the same dataset.
Logging stopped at 16:51:30 on 06 May 2016
I seem to have trouble plotting the taxa summaries as well but not sure if they are related. In any case I managed to graph my taxa summary myself but not sure about a solution here. The input files were my biom otu table after single rarefaction, my mapping file (which worked fine through other stages) and the tree which worked fine through alpha diversity.py.
Bri.