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
add to path cmccabe Bioinformatics 5 07-08-2015 01:05 PM
Using Blast in Python susanklein Bioinformatics 2 02-24-2014 01:19 AM
Bowtie2 library path leebo Bioinformatics 0 07-11-2013 06:45 AM
Reciproca blast using Python Tsuyoshi Bioinformatics 3 09-07-2012 06:40 AM

Thread Tools
Old 07-09-2015, 04:40 PM   #1
Junior Member
Location: Spain

Join Date: May 2015
Posts: 5
Default Adding BLAST+ to Python PATH

Very new to bioinformatics and I am trying to write a code that will allow me to use a reference geneset (e.g. MLST) and BLAST it against genomes available on Genbank so that I can create datasets of these genesets.

For example, if I wish to do a multi locus gene comparison for a given genus, I'd like to be able to input my reference gene set, BLAST it against the available genomes and pull the gene sequences (fasta) that match with X% ID from the genome.

The reason I thought to do a BLAST-extraction is because some of the genomes I'm looking through are not annotated.

My idea is to use the BLAST+ tools to do this, but I cannot call the module in python. I've downloaded the software, but can only call it in terminal (I am using a mac). I am using python 2.7.5 and have added numpy and biopython.

Could anyone provide some advice for a novice?

Thanks in advance!
TinySci is offline   Reply With Quote
Old 07-09-2015, 11:02 PM   #2
Location: Scotland

Join Date: Feb 2011
Posts: 29

There are a number of options open to you. One of which is to use code that others have written and tested (always a decent first option!). BIGSdb may be useful for you ( If you have access to a local Galaxy instance, there may be an MLST workflow available to you. If you're using pubMLST-compatible definitions, then this Python script might do what you want, or serve as an example you can build from.
LeightonP is offline   Reply With Quote

blast, local align, python

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 03:04 PM.

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