Question: (Closed) Remove sequence from fasta file by samtools
10 months ago by
Janey • 20
Janey • 20 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 •