I have a
file 1, containing many gene ID, and also has replicates for the gene ID. I want to extract the corresponding line from an
gff file, I have a script can accomplish this, but this script will remove the replicates automatically, if I don't want to remove the replicates and want to keep the output just like the order in
file 1, if there is anyway I could do this...
Here is file 1:
gene14184 gene25736 gene14184 gene8906 gene25736 gene14775 gene4224 gene8906 gene14184 gene24702
Here is the script I am using:
grep -Fwf file1.txt 001660625_genomic.gff > output.txt