Entering edit mode
7.6 years ago
c.older
•
0
I have an otu map that I would like to extract sequences id corresponding to specific representative sequence ids. For just one representative sequence id I can do
grep "representativesequenceid" otu_map.txt > output.txt
But I would like to do this for a list of ~100 sequence ids, rather than do this 100 times :) Any ideas?
Tried it but just got a blank text file. Any idea what I might've done wrong?
did you copy and paste your representative sequence ids into the
ids_file
?Yes, it is a tab-delimited file with one representative sequence id per line.
Please show several rows
It should be the
\r
in your IDs file. Did you create that file in Windows?Run
And then
This should work.
It worked, thank you!