This is a test version of Biostars. For the public version, visit https://www.biostars.org.
compare two text file

Hi,

I have large two txt files of some ids. could you provide perl script to compare them and output in match ids. please see the example files below.

file 1

AT1G01010.1   89243839-89245706
AT1G01020.1   89246997-89247323
AT1G01020.1   89248315-89248745
AT1G01030.1   89251946-89253019
AT1G01040.1   89263598-89270896
AT1G01050.1   89271464-89272749
AT1G01060.1   89274074-89276072
AT1G01060.1   89276890-89277000
AT1G01070.1   89278980-89280956

file 2

AT5G01185.1   65275:69924
AT5G01335.1   135831:141287
AT5G01365.1   150355:150427
AT5G01542.1   211257:213471
AT5G01715.1   267185:269354
AT5G02025.1   389893:389963
AT5G02244.1   453814:454294
alignment

Hello Manoj!

We believe that this post does not fit the main topic of this site.

Not a bioinformatics question.

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!

Please do not ask for people to give you scripts, we do not encourage that. Always mention what you have tried and where you face challenges. Your post has no information on why you want this done or what you have tried yourself. I'd say this is an assignment question, but it looks too simple to be one. May be part of an assignment?

0 answers

No answers yet.

Log in to answer this question.