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.
Release files for nebgb 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nebgb-0.1.2.tar.gz | 304.8 kB | Details |
Release files / nebgb-0.1.2.tar.gz
| Download URL | nebgb-0.1.2.tar.gz |
|---|---|
| Size | 304.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f94fcc12d41e4f52110745edc9709c2cf2396dd559a94c4b931bb565f53ffd3
|
|
BLAKE2b-256 checksum How to use checksums |
0aefecf8d7608d700bec384f625812989ff990fcbf3c79569e8e083de6258804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |