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.

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)

Source distribution for nebgb 0.1.2
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

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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