Entering edit mode
3.0 years ago
Confused_human
▴
30
I have two files file1 file2 which has taxonomy details .
for example
file1 : ( it has taxonomy ID - some digit)
9
9
4
4
4
file2 : ( it has other taxonomy details along with taxonomy ID )
9 A B C D
4 P Q R S
I want to get an output like output :
9 A B C D
9 A B C D
4 P Q R S
4 P Q R S
4 P Q R S
I tried using this command
awk -F '\t' 'NR==FNR{a[$1];next} ($1) in a' file1 file2
Why
cat
intosed
?how is it related to bioinformatics ?
I have two taxonomy data files , I am trying to map them with their taxID . and want to get all the repeated matched taxIDs along with other details.