Skip to content

Instantly share code, notes, and snippets.

@Vini2
Created September 22, 2017 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vini2/91f120834639a2954f76d923d372bd12 to your computer and use it in GitHub Desktop.
Save Vini2/91f120834639a2954f76d923d372bd12 to your computer and use it in GitHub Desktop.
# Import Clustal Omega wrapper
from Bio.Align.Applications import ClustalOmegaCommandline
# Define input file
in_file = "/Users/vijinimallawaarachchi/Documents/Python/Acanthaster_planci_Gnomon.fsa"
# Define output file
out_file = "aligned.fasta"
# Get the command for Clustal Omega
clustalomega_cline = ClustalOmegaCommandline(infile=in_file, outfile=out_file, verbose=True, auto=True)
# Print the executable command
print(clustalomega_cline)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment