Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/b/i/biopython-HEAD/Bio/CodonAlign/CodonAlignment.py   biopython(Download)
                                "SeqRecord in CodonAlignment")
 
        assert self.get_alignment_length() % 3 == 0, \
            "Alignment length is not a triple number"
 
        lines = ["%s CodonAlignment with %i rows and %i columns (%i codons)"
                 % (str(self._alphabet), rows, \
                    self.get_alignment_length(), self.get_aln_length())]
 
        if rows <= 60:
    def get_aln_length(self):
        return self.get_alignment_length() // 3
 
    def toMultipleSeqAlignment(self):
        """Return a MultipleSeqAlignment containing all the

src/i/v/ivy-phylo-20120228/ivy/vis/tree.py   ivy-phylo(Download)
            aln = align.read(aln)
        d = dict([ (x.id,x) for x in aln ])
        emptyseq = Seq('-'*aln.get_alignment_length(),
                       alphabet=IUPAC.ambiguous_dna)
        aln = MultipleSeqAlignment(

src/b/i/biopython-HEAD/Tests/test_SeqIO.py   biopython(Download)
        assert len(alignment) == t_count
 
        alignment_len = alignment.get_alignment_length()
 
        #Check the record order agrees, and double check the

src/b/i/biopython-1.63/Tests/test_SeqIO.py   biopython(Download)
        assert len(alignment) == t_count
 
        alignment_len = alignment.get_alignment_length()
 
        #Check the record order agrees, and double check the