Question: (Closed) Remove sequence from fasta file by samtools
2.5 years ago by
Janey • 30
Janey • 30 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 •