Author: | Andreas Heger |
---|---|
Release: | $Id$ |
Date: | December 09, 2013 |
Tags: | Python |
print multiple alignment in fasta format.
print multiple alignment in PIR (MODELLER) format. example:
>P1;5fd1 structureX:5fd1:1 : :106 : :ferredoxin:Azotobacter vinelandii: 1.90: 0.19 AFVVTDNCIKCKYTDCVEVCPVDCFYEGPNFLVIHPDECIDCALCEPECPAQAIFSEDEVPEDMQEFIQLNAELA EVWPNITEKKDPLPDAEDWDGVKGKLQHLER*
print alignment in ClustalW format. (have to still look up the format, dsc can read it.)
read alignment in the non-defined picasso format.
compress an alignment string. Lower-case characters at the beginning are ignored if so wished. –xxabBCDEfgHI becomes: -6+4
This was necessary for radar output (e.g., 46497)
read alignment in fasta format.
convert gaps characters in mali.
remove all gapped columns in mali.
return subset of mali which only contains identifiers.
get columns in frame according to master.
get columns in frame for all masters matching the pattern.
build map of positions between mali.
return a pruned sequence given frame columns.
everything not in frame is deleted, only complete codons are kept.
get number of identical residues between seq1 and seq2.