Example folder for intersections (https://github.com/PlasmaPower/intersections)
This is an example of one way to use intersections, finding the location of an unlabeled gene. We are searching the known colistin resistance gene MgrB against a colistin resistant genome to see where it resides.
prokka-1.12/bin/prokka -kingdom Bacteria -rfam -outdir ./path/to/prokkadatabase/R_113 -force -prefix R_113 R_113.fasta
https://github.com/tseemann/prokka
- Create blast database
makeblastdb -in R_113.fasta -dbtype nucl -parse_seqids -out ./blast_databases/R_113/R_113
http://nebc.nox.ac.uk/bioinformatics/docs/makeblastdb.html
- Blast sequence -MgrB gene- using kmer_blaster (included in example folder)
/anaconda2/bin/python kmer_blaster.py -db ./R_113/R_113 -q ./MrgB.gene -o ./bla_gff/R_113.bla -p 100
http://biopython.org/DIST/docs/api/Bio.Blast.Applications.NcbiblastnCommandline-class.html
cd ~/intersections-example
/path/to/intersections/intersections -s ./bla_gff/ > intersections_output.tsv