I have several columns of gene symbols. I would like to know which gene exists similarly in each of columns
For example, I have three columns which shows that the first gene is similar in the first column and second column,
Is there anyone know how to check for this?
ADORA2B ADORA2B KLC1
AGPAT5 HOPX LEPR
ASS1 IGFBP7 LTBP3
C1QBP INHBA MBNL2
C4orf19 ITGB5 MLLT11
CASP1 ITGBL1 NOTCH3
CASP1 ITGBL1 NPR3
CASP1 NUAK1
CASP1 OLR1
CCL20 PDGFC
KBTBD11 PLA2G16
KLF4
ME2
MPDU1
NAT1
PBK
PSMB10
PSMB8
PSMB9
One more question, lets say my file called data is saved in xls or csv, then should I just go to the location of the file and instead of "yourfile", I type "data.xls" or "data.csv"
Yeah, or you can define the path in
e.g.
Keep in mind though that the above examples only work with tab separated values (i.e. not excel files). You can define different separators though, e.g.
Would cut the first field separated by a comma..
Thank you so much for your time. I saved the file from xls as a text file (delimited text.txt)
Then I used
but nothing happened, do you know whether I am making a mistake?
How does
head test.txt
look? Perhaps there's a problem with linebreak format. They should be LF typeI found when I save my xls file to txt file, something goes wrong. I used "TextWrangler" on Mac to save the two columns with space as a txt file. Now seems to work perfectly
If you know any other way to covert the xls file to a format that your program read it best, please do not hesitate to let me know
Once again thanks