lh3 / seqtk

Toolkit for processing sequences in FASTA/Q formats
MIT License
1.35k stars 310 forks source link

The output file size of seqtk subseq is zero #196

Closed CherryX727 closed 1 year ago

CherryX727 commented 1 year ago

Hi, when I use seqtk subseq, it runs normally and generates the specified output file without any error message.But the output file size is 0.The following is the code I used. seqtk subseq SRR8521657_R2_.fastq TTTTTTTGTCAN_sampleID.txt > TTTTTTTGTCAN.fastq How can I solve this problem? Thanks for your answer.

lh3 commented 1 year ago

Please make sure sequence names in .txt are present in the fastq.