Entering edit mode
8.9 years ago
zwang10
▴
30
I am new to BAM file and samtools. I want to extract part of bam file by
samtools view _SRA_RUN_AUTO_ARCHIVE_TEST_vault_EGAR00001003032_5499_1.bam "Chr5:18000-45500" > output.bam
But I got
[bam_parse_region] fail to determine the sequence name.
[main_samview] region "Chr5:18000-45500" specifies an unknown reference name. Continue anyway.
What happened?
Hello zwang10!
It appears that your post has been cross-posted to another site: http://seqanswers.com/forums/showpost.php?p=187067&postcount=1
This is typically not recommended as it runs the risk of annoying people in both communities.