Entering edit mode
16 months ago
Shin Taguchi
▴
40
Hi, every one.
I ran the following command.
samtools view input.bam scaffold_list > subset_reads.sam
I then received the following error message.
[main_samview] region "scaffold_list" specifies an invalid region or unknown reference. Continue anyway.
The contents of "scaffold_list" are as follows.
scaffold_71345
scaffold_71293
scaffold_71300
scaffold_71309
scaffold_71272
scaffold_71267
scaffold_71292
scaffold_71262
scaffold_71282
I ran the following command to check the scaffold name and found no mistakes.
samtools view -H input.bam
I would like to know how to resolve this error.
Thank you.
Please, review all you previous question and validate the good answers (tick on the left):