Question: (Closed) Remove sequence from fasta file by samtools
3 months ago by
Janey • 10
Janey • 10 wrote:
I use the following script to extract sequence from fasta file by samtools. How can I write similar command to remove the sequences by sequence IDs list from fasta file by samtools.
cut -c 2- ID.text | xargs -n 1 samtools faidx in.fasta > out.fasta
Thanks for your help
ADD COMMENT • link •