Find and replace
I am working with a group of gene names which I want to convert to their GenBank accession numbers. I have them sorted out already: the first column is in GenBank, the second column is the gene names which I want to replace.
FJ176297 B6DXA9
FJ176298 B6DXB0
BABH01035639 H9IRZ2
BABH01035638 H9IRZ3
BABH01035606 H9IRZ6
BABH01035561 H9IS05
DQ443298 Q1HPV4
BABH01035559 H9IS09
BABH01035561 H9IS11
BABH01035625 H9IS16
BABH01035634 H9IS17
BABH01035644 H9IS24
BABH01035679 H9IS34
BABH01035692 H9IS38
AY769302 Q5UAQ6
BABH01024272 H9IS52
KF703567 H9IS55
BABH01024200 H9IS59
BABH01024199 H9IS60
BABH01024182 H9IS64
BABH01024179 H9IS65
BABH01024137 H9IS68
BABH01024123 H9IS71
BABH01024110 H9IS77
Now, I need to replace items in coulumn 2 with items in column 1 in 150 files where I have the results.
• 1,188 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello Nano!
This is not technically a bioinformatics question. This deals with file IO and parsing. You may have better luck on StackOverflow
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!