In my case, it doesn't work.
parallel --verbose 'echo "TRINITY_{}" > test__.txt | seqtk subseq /home/sunn/data/softwares/evaluation/TransDecoder-TransDecoder-v5.5.0/SRR363205.trim_trinity.cdhit.fasta.transdecoder.cds test__.txt | seqtk rename - OG0012881{}_OG00{}.fa >>out__.fa' ::: {1..9}
test__.txt
TRINITY_DN9890_c1_g1_i2.p1
TRINITY_DN80_c2_g1_i1.p1
TRINITY_DN280_c5_g4_i1.p1
TRINITY_DN1196_c4_g1_i1.p1
TRINITY_DN2100_c4_g1_i1.p1
TRINITY_DN68_c4_g1_i1.p1
TRINITY_DN381_c17_g1_i4.p1
TRINITY_DN371_c8_g1_i1.p1
TRINITY_DN846_c1_g1_i1.p1
The out__.fa is an empty file.
my question is quite simple
I would like to search only for the 1st TRINITY ID in my test__.txt
to the .cds (fasta file).
2nd TRINITY ID vs. 2nd .cds
I hope I presented here better way. Suggestions.