So whats the content of hg19_refGene.txt - the file within grep is looking for a string "panel_genes.txt".
Also, you're uploading a 'result file' (match.txt) that is alot larger than what you call an input file (panel_genes.txt).
Also, even if i misunderstand the grep command, the result would overwrite the 'more-detailed-looking' match.txt file with a 'row of single strings' compared to its current content.
Basically what I am trying to do is match the exact gene name in the input (panel_genes.txt) with the gene names in column M of the attached hg19_refGene.txt. Thank you.
I am not to familiar with awk and tried the command but got:
awk 'NR==FNR { X[toupper($1)]++ ; next } ; toupper($13) in X' keys hg19_refGene.txt
awk: fatal: cannot open file `keys' for reading (No such file or directory). Thanks.