Entering edit mode
7.8 years ago
biostarsb
▴
30
I have two files with genes
File one (with 40000 genes)
Gene 1
Gene 2
Gene 3
Gene b
Gene f
Gene c
Gene r
Gene z
File two (with 39000 genes)
Gene 1
Gene 3
Gene 2
Gene b
I would like to know if there is a command line (with awk or bash) to extract that lines that exist in the one file and not in the two file
i tested this but i have all genes not only those in the file1 me i need to extract only genes present in file1 and not in file2
only in 1st:
only in 2nd