Skip to content

Instantly share code, notes, and snippets.

@coleoguy
Created January 24, 2014 22:45
Show Gist options
  • Save coleoguy/8608352 to your computer and use it in GitHub Desktop.
Save coleoguy/8608352 to your computer and use it in GitHub Desktop.
these are the command line arguments to create a local blast database from the new genome assembly (in our case T. confusum), and then blast the large exon file to create what we will call a look up table.
# to construct database from an assembly in the file
# conf.scaf.fa run this in the terminal
# it will create a blast database call confscaf
makeblastdb -in conf.scaf.fa -dbtype nucl -out confscaf
# next we want to blast our large exons against this db
blastn -query=/outputs/300+bpExons.fa -db=/blastDB/confscaf -outfmt='6 qseqid qstart sseqid sstart qlen length pident' -max_target_seqs=2 -out=info
# this produces the lookup table that we can then use to analyze the degree of synteny conservation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment