Hi everyone
I have a file 1 with a column of several NCBI ID's like NC_014251.1 and a file B with several lines containing ID's and the description, i want to generate a file C with my IDs from file 1 ans its description from file B
for one record i did this
grep -w "NC_014251.1" ident_allbac160615.txt > NNSV15DNABNNSV15RNAB_R1R1q20allhg38nmIDsnum1.txt
but when i am trying to do it for all file A with
grep -wf NNSV15DNABNNSV15RNAB_R1R1q20allhg38nmIDsnum.txt ident_allbac160615.txt > NNSV15DNABNNSV15RNAB_R1R1q20allhg38nmIDsnumA.txt
i am losing IDs and its order (from 34140 just 1440 ), any idea whats going on?
I will appreciate any help
I have a file 1 with a column of several NCBI ID's like NC_014251.1 and a file B with several lines containing ID's and the description, i want to generate a file C with my IDs from file 1 ans its description from file B
for one record i did this
grep -w "NC_014251.1" ident_allbac160615.txt > NNSV15DNABNNSV15RNAB_R1R1q20allhg38nmIDsnum1.txt
but when i am trying to do it for all file A with
grep -wf NNSV15DNABNNSV15RNAB_R1R1q20allhg38nmIDsnum.txt ident_allbac160615.txt > NNSV15DNABNNSV15RNAB_R1R1q20allhg38nmIDsnumA.txt
i am losing IDs and its order (from 34140 just 1440 ), any idea whats going on?
I will appreciate any help
Comment