semvec/pypi-packages huggingface dataset:
annotater 0.2
Inline web annotation application and middleware using javascript and WSGI
License: MIT
Keywords: annotation web javascript

Inline javascript-based web annotation library incorporating Marginalia
(http://www.geof.net/code/annotation). Package includeds a database-backed
annotation store with RESTFul (WSGI-powered) web-interface, abstraction layer
around marginalia to make it easy to incorporate it into your web application
and all the marginalia media files (with improvements).
nebfa 0.0.2
Fasta file parser.
License: MIT
Keywords: bioinformatics fasta parser

nebfa - Fasta File Parser
=========================

Usage:

    >>> import nebfa
    >>> rec = nebfa.parse(open("./test/data/basic.fa")).next()
    >>> rec.id
    ('gi', '0120123123')
    >>> rec.desc
    'Some stuff'
    >>> rec.sequence
    'ACGT'
    >>> rec.hash
    '2108994E17F6CCA9FF2352ADA92B6511DB076034'
    
    # Alternatively, parse_file avoids the need for a call to open.
    >>> for rec in nebfa.parse_file("./test/data/multi.fa"):
    ...     print rec.id
    ('gi', '0120123123')
    ('ref', 'YP_234234.2')

Records also have a meta attribute that has two keys for identifiers and
descriptions. You will need to consult that member when you have Ctl-A separated
deflines. If you have a better syntax suggestion please send a note along.
nebgb 0.1.2
Genbank file parser.
License: MIT
Keywords: bioinformatics genbank parser

nebgb - Genbank File Parser
===========================

Usage:

    >>> import nebgb
    >>> rec = nebgb.parse_file("./test/data/simple-1.gb").next()
    >>> rec.locus["name"]
    'NP_034640'
    >>> rec.locus["length"]
    182
    >>> rec.keywords["source"]["name"]
    'house mouse'
    >>> rec.features[1]["properties"]["product"]
    'interferon beta, fibroblast'
    >>> for seq in rec.seqiter:
    ...    print seq
    mnnrwilhaafllcfsttalsinykqlqlqertnirkcqelleqlngkinltyradfkip
    memtekmqksytafaiqemlqnvflvfrnnfsstgwnetivvrlldelhqqtvflktvle
    ekqeerltwemsstalhlksyywrvqrylklmkynsyawmvvraeifrnfliirrltrnf
    qn

Alternatively you can use `nebgb.parse()` to parse a string or iterator that yields lines of a Genbank file.