When I run this command:
sample2markers.py --verbose --ifn_samples strainphlan2_output/15V0257194_after_human_F2.sam.bz2 --input_type sam --output_dir ./test2
It returns this error:
[bam_sort_core] fail to open './test2/15V0257194_after_human_F2.sam.bz2.bam.sorted': No such file or directory
(...trimmed for clarity)
ooSubprocessException: Failed when executing the command: dump_file.py --input_file strainphlan2_output/15V0257194_after_human_F2.sam.bz2 | samtools view -bS - | samtools sort -o - ./test2/15V0257194_after_human_F2.sam.bz2.bam.sorted
return code: 1
I guess it failed at samtools sort. I don't understand why it's '-o -' since -o is specifying the output file which should be /test2/15V0257194_after_human_F2.sam.bz2.bam.sorted. Why is the stdin '-' in between? I am confused because other people have seemed to run it smoothly. Please help. Thank you very much.
Best regards,
Jamie
--
You received this message because you are subscribed to the Google Groups "MetaPhlAn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metaphlan-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to metaphlan-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to metaphlan-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "MetaPhlAn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metaphlan-use...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to metaphlan-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "MetaPhlAn-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metaphlan-users+unsubscribe@googlegroups.com.