Ejemplo n.º 1
0
def ImgtIterator(handle):
    """Breaks up an IMGT file into SeqRecord objects.

    Every section from the LOCUS line to the terminating // becomes
    a single SeqRecord with associated annotation and features.

    Note that for genomes or chromosomes, there is typically only
    one record."""
    # This calls a generator function:
    return _ImgtScanner(debug=0).parse_records(handle)
Ejemplo n.º 2
0
def ImgtIterator(handle):
    """Breaks up an IMGT file into SeqRecord objects.

    Every section from the LOCUS line to the terminating // becomes
    a single SeqRecord with associated annotation and features.

    Note that for genomes or chromosomes, there is typically only
    one record."""
    # This calls a generator function:
    return _ImgtScanner(debug=0).parse_records(handle)