I am trying to analyze PiCrust output with HUManN2. I took the PiCrust Biom file and I first split the table to make individual Biom files for each of my samples. I then tried the following command on that .biom file:
csmxum00009464:humann2 jennifer.bowen$ humann2 --input /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann2_try/GULF.9B.RNA.biom output humann_out pathways-database /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/data/keggc
The output message I received is below. I have been following the instructions from this site:
http://huttenhower.sph.harvard.edu/humann2/manual#markdown-header-1-download-humann2
Since the output files are straight out of PiCrust, I am not sure how to solve the problem. I would be grateful for any suggestions.
Best regards,
Jen
usage: humann2 [-h] [--version] [-v] [-r] [--bypass-prescreen]
[--bypass-nucleotide-index] [--bypass-translated-search]
[--bypass-nucleotide-search] -i <input.fastq> -o <output>
[--nucleotide-database <nucleotide_database>]
[--annotation-gene-index <8>]
[--protein-database <protein_database>] [--evalue <1.0>]
[--metaphlan <metaphlan>]
[--metaphlan-options <metaphlan_options>]
[--o-log <sample.log>]
[--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
[--remove-temp-output] [--bowtie2 <bowtie2>] [--threads <1>]
[--prescreen-threshold <0.01>] [--identity-threshold <40.0>]
[--usearch <usearch>] [--rapsearch <rapsearch>]
[--diamond <diamond>]
[--taxonomic-profile <taxonomic_profile.tsv>]
[--id-mapping <id_mapping.tsv>]
[--translated-alignment {usearch,rapsearch,diamond}]
[--xipe {on,off}] [--minpath {on,off}] [--pick-frames {on,off}]
[--output-format {tsv,biom}] [--output-max-decimals <10>]
[--output-basename <sample_name>] [--remove-stratified-output]
[--input-format {fastq,fastq.gz,fasta,fasta.gz,sam,bam,blastm8,genetable,biom}]
[--pathways-database <pathways_database.tsv>]
[--pathways {metacyc,unipathway}]
[--memory-use {minimum,maximum}]
humann2: error: argument -o/--output is required
csmxum00009464:humann2 jennifer.bowen$ humann2 --input /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann2_try/GULF.9B.RNA.biom --output humann_out --pathways-database /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/data/keggc
Creating output directory: /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann_out
Output files will be written to: /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann_out
Process the gene table ...
Computing pathways abundance and coverage ...
Traceback (most recent call last):
File "/Users/jennifer.bowen/anaconda/lib/python2.7/site-packages/humann2-0.5.0-py2.7.egg/humann2/quantify/MinPath12hmp.py", line 927, in <module>
Orth2Path(infile = anyfile, mpsfile = mpsfile, reportfile = reportfile, detailfile = detailfile, whichdb = "ANY", mapfile=mapfile)
File "/Users/jennifer.bowen/anaconda/lib/python2.7/site-packages/humann2-0.5.0-py2.7.egg/humann2/quantify/MinPath12hmp.py", line 874, in Orth2Path
ab = float(tmp[1])
ValueError: could not convert string to float: cycle
CRITICAL ERROR: Unable to process all thread commands.
Error message returned from command for thread task 0: /Users/jennifer.bowen/anaconda/bin/python /Users/jennifer.bowen/anaconda/lib/python2.7/site-packages/humann2-0.5.0-py2.7.egg/humann2/quantify/MinPath12hmp.py -any /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann_out/GULF.9B.RNA_humann2_temp/tmpxvkWTu/tmp7vK2D5 -map /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann_out/GULF.9B.RNA_humann2_temp/tmpxvkWTu/tmpmP9BFc -report /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann_out/GULF.9B.RNA_humann2_temp/tmpxvkWTu/tmp6Zpfln -details /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann_out/GULF.9B.RNA_humann2_temp/tmpxvkWTu/tmp8V6piX -mps /Users/jennifer.bowen/Desktop/humann2_v0.5.0/humann2/humann_out/GULF.9B.RNA_humann2_temp/tmpxvkWTu/tmpNOLdsu