Different python libraries that automate downloading, filtering and analysis of sequences and sequence alignments. Dig here if you want to know how:
- Download seqeunces from NCBI databases and filter them.
- Display a multiple sequence alignment using TexShade and python wrapper.
- Example scripts of doing homology modeling with Modeller including converting MSA fromats to PIR format.
- Map sequences or there features to a taxonomic tree through ete2
- Calculate mutual information between two sequences.
- Make dataplots on top of seqeunces or sequence alignments.
- Find and display secondary structure elements in sequences.
Currently manual Python library installation is needed.
PATH and EMAIL should be configured in CONFIG.py
Binary packages should be installed if needed, as detailed below:
- Some external binary dependencies can be installed via conda:
conda install muscle
conda install emboss
- LaTeX with TeXShade package should be installed https://www.latex-project.org/get/
The easiest way seem to install the basic TeX distro http://www.tug.org/mactex/morepackages.html and then add TeXShade via
sudo tlmgr update --self
sudo tlmgr install texshade
- ImageMagic has to be installed - the
convert
command at least should be available systemwide. The Ghostscript should be installed - thegs
command at least should be available systemwide.
Via brew:
brew install im
brew install gs
- AL2CO should be installed manually if needed.
This library outputs MSA to HTML and allows some annotation. Functions: aln2html Python dependencies: biopython
This is a complex and powerful library to retrieve sequences from NCBI and build, edit, analyze and display MSAs.
Functions: get_prot_seq_by_gis, get_prot_seqrec_by_gis, get_prot_gbrec_by_gis, aln_undup, cons_prof, trim_aln_gaps, trim_aln_to_key_seq, trim_aln_to_seq, trim_aln_to_seq_length, muscle_aln, add_consensus, cluster_seq_support_nw, cluster_seq_support, taxo_msa, gen_fake_msa, features_via_hmm, taxo_seq_architecture, debump_features
Python dependencies: biopython, networkx, PyQT, modified ete2 https://github.com/molsim/ete/tree/2.3
External programs: AL2CO, Muscle, EMBOSS
Installation: TBA
This library converts FASTA multiple alignment files to PIR files as needed by MODELLER by adding additional information.
Library caclulate mutual information of two sequences via R. Sequences should be simple strigns of capital letters.
This library plots profiles on top of sequences. Using combination of R and python. It can generate visual representation of sequences by itself.
Deprecated
This is a library that makes good images of shaded alignments through TeXShade. Latex with TexShade module has to be installed. https://www.latex-project.org/get/
Visualizing histone MSAs via TEXSHADE. A very powerful example.
Makes use of ETE2 library to filter sequences using there taxonomy. Functions: check_tax_id_clade, subsample_taxids, group_taxids, get_taxid_from_gbrec, gbrec_to_clickhtml