This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cd ~/Pictures/NatGeo | |
| rm NG_img_of_day | |
| rm NG_img_of_day_site | |
| curl http://photography.nationalgeographic.com/photography/photo-of-the-day/ \ | |
| -o NG_img_of_day |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python2 | |
| from Bio import AlignIO | |
| import sys | |
| fformat=sys.argv[1].split('.')[-1] | |
| align = AlignIO.read(open(sys.argv[1]), fformat) #load file | |
| outname = sys.argv[1].split('.')[:-1]+'.filtered.phylip-relaxed' | |
| #find variable sites | |
| info=[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/local/bin/python | |
| #modified from Bienvenido Velez | |
| import sys | |
| import os.path | |
| from Bio import SeqIO | |
| from Bio.Blast import NCBIXML | |
| from Bio.Blast import NCBIWWW | |
| def runBlastn(fastaSequence,outputFileName): | |
| 'Conducts a nucleotide Blast run on the given fastaSequence and save the blast run output in XML format' |