Search Results

Search: Posts Made By: cmccabe
2,756
Posted By cmccabe
Thank you very much for all your help :).
Thank you very much for all your help :).
2,756
Posted By cmccabe
Makes sense now, thank you. In order to...
Makes sense now, thank you.

In order to capture BRCA2 from file1 with BRCA 1, BRCA2 from file2, would:


gsub(" ","",$5) #removing white space
have to be to capture the matching name...
2,756
Posted By cmccabe
I made a typo in on of the file1 lines, BCRA1...
I made a typo in on of the file1 lines, BCRA1 should be BCRA2.

file1

BRCA2
BCR
SCN1A
fbn1
current output:

awk 'BEGIN{FS=OFS="\t"}
{$0=toupper($0)}
FNR==NR{
if(NR>1 && ($7 ~ "FULL...
2,756
Posted By cmccabe
awk to print fields that match using conditions and a default value for non-matching in two files
Trying to use awk to match the contents of each line in file1 with $5 in file2. Both files are tab-delimited and there may be a space or special character in the name being matched in file2, for...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy