def filtered_contigs_generator(min):
    for contig in SeqIO.parse(input_fasta, 'fasta'):
        if (len(contig) >= min):
            (yield contig)
def filtered_contigs_generator(min):
    for contig in SeqIO.parse(input_fasta, 'fasta'):
        if (len(contig) >= min):
            (yield contig)