nebgb 0.1.2
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.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| nebgb-0.1.2.tar.gz (md5) | Source | 2009-07-31 21:47:51.580948 | 297KB | 54 | |
- Author: Paul Joseph Davis <davisp at neb com>
- Home Page: http://github.com/davisp/nebgb
- Keywords: bioinformatics genbank parser
- License: MIT
- Platform: any
-
Categories
- Development Status :: 3 - Alpha
- Intended Audience :: Developers
- Intended Audience :: Science/Research
- License :: OSI Approved :: MIT License
- Natural Language :: English
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Scientific/Engineering :: Bio-Informatics
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: davisp
- DOAP record: nebgb-0.1.2.xml
Log in to rate this package.
