SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
BLAST+ creating custom blast database and using blast+ filtering features deniz Bioinformatics 3 07-07-2019 08:04 AM
reciprocal blast renesh Bioinformatics 7 02-10-2017 08:33 AM
progressiveMauve Orthologs Output Adjuvant Bioinformatics 0 02-15-2012 01:18 PM
Reciprocal Blast With Multiple Contigs Per Gene jwhittall Bioinformatics 0 07-21-2010 01:20 PM
Need Help Regarding Reciprocal best hit in BLAST Bharat Bioinformatics 1 03-11-2010 03:04 AM

Reply
 
Thread Tools
Old 06-07-2012, 06:17 AM   #1
nicedad
Member
 
Location: Switzerland

Join Date: May 2011
Posts: 49
Default detect orthologs using reciprocal BLAST

Hi everyone,
I have to detect orthologs between two species using reciprocal BLAST, i.e. blasting the set A against the set B and then blasting the set B against the
set A. which means that am gona blast fasta file A aginst fasta file B (as the database or subject) and then blasting fasta ifle B agains fasta file A (as the database or subject).
The blast operation itself went properly with two .CVS files. my proplem now is to compair these two files that resulting from the tow blasting operations.
Thus one needs to use the above mentioned algorithm (reciprocal BLAST).

I used a python script called find-reciprocal.py which is can be found here

https://bitbucket.org/ctb/ngs-course...-reciprocal.py

this script need two other models, which can be found here
https://bitbucket.org/ctb/ngs-course/src/tip/blast/

Unfortunately, I always get the following error form python interpreter:
error line 49 d1 = load_csv_to_dict(in_file_1) not known
error line 14 for (query_name, subject_name, score,expect) in csv.reader(open(filename)):


Seemingly, the .csv files have not been recognized!

hope there is a help in here
cheers,

Last edited by nicedad; 06-07-2012 at 06:28 AM. Reason: forgot something
nicedad is offline   Reply With Quote
Old 06-07-2012, 07:09 AM   #2
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 6,978
Default

Have you checked the .csv files to confirm that they look ok (have the expected format)?
GenoMax is offline   Reply With Quote
Old 06-07-2012, 07:37 AM   #3
The Snow
Junior Member
 
Location: Italy

Join Date: Jun 2012
Posts: 7
Default

I had a problem like this when I prepared the csv using Excel. Try to create it using Linux (e.g. gedit).

That was my case, I hope can work also for you.

Fabio
The Snow is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO