Here i my issue, I have a Trinity.fasta file like this
>TRINITY_DN5631_c0_g2_i1 len=947 path=[0:0-946] TACAACTTGAACATCAACAATGGTTGCGCAGCTATTGCCATCCGCGACGTTCGAGGACTGCGTGCGAA >TRINITY_DN62279_c1_g1_i1 len=298 path=[0:0-297] TATTACCATTATTATTATTATCATATTTATGTTCATTATTATCATTATCATAATCATTATCATCTTGATA ...
And I also have a list of id in a id.txt file :
TRINITY_DN16359_c0_g1_i4 TRINITY_DN62279_c1_g1_i1 ...
I am trying to extract for my fasta file the sequences that have their id in my txt.file. I am using seqkit for that, but with no success :
seqkit grep -n -f id.txt Trinity.fasta -o result.fa
Does anyone know how to fix it ?