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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/b/c/bcbb-HEAD/gff/Scripts/gff/gff2_to_gff3.py   bcbb(Download)
import os
 
from BCBio.GFF import GFFParser, GFF3Writer
 
def main(in_file):
    out_handle = open(out_file, "w")
    reader = GFFParser()
    writer = GFF3Writer()
    writer.write(reader.parse_in_parts(in_handle, target_lines=25000),
            out_handle)

src/m/g/mgtaxa-HEAD/MGT/Proj/CrisprMooreApp.py   mgtaxa(Download)
    def plotCrisprOneBioGff(self,seqRec,outGraphFileRoot):
        """Generate GFF files of CRISPR genes and arrays from one SeqRecord from a pre-processed Genbank file, using Bio sandbox module"""
 
        from BCBio.GFF import GFF3Writer
        out = open(outGraphFileRoot+".gff3","w")
        writer = GFF3Writer()