Exemplo n.º 1
0
 def getMotifGff(self):
     """Get a GFF with the best motifs for all sequences"""
     gff_dict = self.findMotifs()
     gff = []
     for motif in gff_dict.values():
         gff.extend(motif)
     bestfile = GffFile()
     bestfile.gff = gff
     gfffilename = self.tempFile("gff", bestfile.getFormattedGff())
     return gfffilename