Hi there question is in the title,
I found an article that lists a number of genes, I made a text file out of this, called MTOR. Using MTOR.txt I wanted to use UNIX or a Bash script to read the contents of this list, and then search in a CSV file (SkeletalMuscle) the lines that contain the name of the genes. These lines contain Differential gene expression. I tried using grep and awk separately but honestly I'm kinda new to UNIX, still have to get used to it and I'm at the point where I think to myself maybe I should just try using Excel and using VLOOKUP or something... please help
Show the contents of the files in question. A simple
head -5 filename
should be adequate.This is the Simple MTOR text file:
This is the SkeletalMuscle.csv file: