Skip to main content

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.

Metadata

Release files for nebgb 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nebgb 0.0.3
File Size Uploaded Provenance Actions
nebgb-0.0.3.tar.gz 7.5 kB Without provenance Details for nebgb-0.0.3.tar.gz

Release files / nebgb-0.0.3.tar.gz

Download URL nebgb-0.0.3.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7a93b8edba9e57c7d3d147a5d06fd0680c970ace7638de0239532f622bcd57bc
BLAKE2b-256 checksum
How to use checksums
8b1ce219e2462baa244ce28e9fecda2f7c1624b0d38700b6a6fbdd04b217b2e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for nebgb 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page