Closed fengyq closed 5 years ago
seqtk subseq t1.fq t1.lst
@M01326:74:000000000-A6B33:1:1101:18968:2222:1-1 1:N:0:0 G + C @M01326:74:000000000-A6B33:1:1101:14853:2501:1-1 1:N:0:0 G + C >M01326:74:000000000-A6B33:1:1101:10560:2991:1-1 1:N:0:0 G
Don't put 1:N:0:0
in the list. It is not part of FSATQ name.
Hi Heng,
When the id have white space in the name line of a fastq file, the program will only extranct the first base of the sequence.
fastq file
@M01326:74:000000000-A6B33:1:1101:18968:2222 1:N:0:0 GGACTCCT + CCBCCFFF @M01326:74:000000000-A6B33:1:1101:14853:2501 1:N:0:0 GGACTCCT + CCCCCFFF @M01326:74:000000000-A6B33:1:1101:10560:2991 1:N:0:0 GGACTCCT
name.list
M01326:74:000000000-A6B33:1:1101:18968:2222 1:N:0:0 M01326:74:000000000-A6B33:1:1101:14853:2501 1:N:0:0 M01326:74:000000000-A6B33:1:1101:10560:2991 1:N:0:0