Entering edit mode
3.5 years ago
vanessagpds
▴
10
I am trying to filter my results but I am having difficulties.
I have a tab-separated file and I would like to filter it as follows:
The lines are removed if they are not found in cosmic92 or cosmic92_noncoding, but are present in avsnp150 or ExAC.
I thank the attention.
Please do not post the data images instead of data.
My apologies
try this (test.txt - OP text):
what if it is present in avsnp150, but absent in ExAC_ALL or vice versa?
Thank you for your answer. In this case, as long as it is present in one of the databases, the line must be ignored.
Then this code will work. This code filters out rows/ records if COSMIC92 (2nd column) or COSMIC92_Noncoding (3rd column) values are denoted by
.
.