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

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

src/b/i/biopython-1.63/Bio/AlignIO/PhylipIO.py   biopython(Download)
    handle = StringIO()
    PhylipWriter(handle).write_file(list5)
    handle.seek(0)
    list6 = list(PhylipIterator(handle))
    assert len(list5) == len(list6)

src/b/i/biopython-HEAD/Bio/AlignIO/PhylipIO.py   biopython(Download)
    handle = StringIO()
    PhylipWriter(handle).write_file(list5)
    handle.seek(0)
    list6 = list(PhylipIterator(handle))
    assert len(list5) == len(list6)

src/b/i/biopython-1.63/Bio/AlignIO/ClustalIO.py   biopython(Download)
    handle = StringIO()
    ClustalWriter(handle).write_file(alignments)
    handle.seek(0)
    for i, a in enumerate(ClustalIterator(handle)):
        assert a.get_alignment_length() == alignments[i].get_alignment_length()
    handle.seek(0)
    handle = StringIO()
    ClustalWriter(handle).write_file([alignment])
    handle.seek(0)
    for i, a in enumerate(ClustalIterator(handle)):
        assert a.get_alignment_length() == alignment.get_alignment_length()

src/b/i/biopython-1.63/Bio/AlignIO/NexusIO.py   biopython(Download)
    handle = StringIO()
    NexusWriter(handle).write_file([a])
    handle.seek(0)
    print(handle.read())
 

src/b/i/biopython-HEAD/Bio/AlignIO/ClustalIO.py   biopython(Download)
    handle = StringIO()
    ClustalWriter(handle).write_file(alignments)
    handle.seek(0)
    for i, a in enumerate(ClustalIterator(handle)):
        assert a.get_alignment_length() == alignments[i].get_alignment_length()
    handle.seek(0)
    handle = StringIO()
    ClustalWriter(handle).write_file([alignment])
    handle.seek(0)
    for i, a in enumerate(ClustalIterator(handle)):
        assert a.get_alignment_length() == alignment.get_alignment_length()

src/b/i/biopython-HEAD/Bio/AlignIO/NexusIO.py   biopython(Download)
    handle = StringIO()
    NexusWriter(handle).write_file([a])
    handle.seek(0)
    print(handle.read())
 

src/b/i/biopython-1.63/Bio/MarkovModel.py   biopython(Download)
    def __str__(self):
        from Bio._py3k import StringIO
        handle = StringIO()
        save(self, handle)
        handle.seek(0)

src/b/i/biopython-HEAD/Bio/MarkovModel.py   biopython(Download)
    def __str__(self):
        from Bio._py3k import StringIO
        handle = StringIO()
        save(self, handle)
        handle.seek(0)

src/b/i/biopython-1.63/Bio/SeqIO/InsdcIO.py   biopython(Download)
    def check_genbank_writer(records):
        handle = StringIO()
        GenBankWriter(handle).write_file(records)
        handle.seek(0)
 
            print(err)
            return
        handle.seek(0)
 
        records2 = list(EmblIterator(handle))

src/b/i/biopython-HEAD/Bio/SeqIO/InsdcIO.py   biopython(Download)
    def check_genbank_writer(records):
        handle = StringIO()
        GenBankWriter(handle).write_file(records)
        handle.seek(0)
 
            print(err)
            return
        handle.seek(0)
 
        records2 = list(EmblIterator(handle))

  1 | 2 | 3 | 4  Next