Off topic:Remove sequence from fasta file by samtools
0
1
Entering edit mode
5.9 years ago
Janey ▴ 30

Hi

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

RNA-Seq • 4.6k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2016 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6