Skip to main content

# ga4gh-mongo

A document based Variant database inspired by ga4gh Variants schema.

https://github.com/ga4gh/schemas

## Usage

from ga4ghmongo.schema import Variant v = Variant.create(start=0,reference_bases=”A”, alternate_bases=[“T”]) v.to_mongo().to_dict()

{‘info’: {}, ‘is_snp’: True, ‘is_insertion’: False, ‘reference_bases’: u’A’, ‘created_at’: datetime.datetime(2016, 3, 16, 15, 11, 43, 989088), ‘updated_at’: datetime.datetime(2016, 3, 16, 15, 11, 43, 989189), ‘start’: 0, ‘var_hash’: u’b819f0202b6a9dff2821bbcf7dac87536bc9cb08be6eb96c8dad3fd4fd2a6fd6’, ‘names’: [u’A0T’], ‘is_indel’: False, ‘length’: 0, ‘alternate_bases’: [u’T’], ‘is_deletion’: False, ‘variant_sets’: []}

### Changes from ga4gh v0.5.1 API

  • In ga4gh schema each Variant must belong to one and only one VariantSet. Here we allow Variants to belong to multiple VariantSets

Metadata

Release files for ga4ghmongo 0.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 ga4ghmongo 0.0.1.2
File Size Uploaded Provenance
ga4ghmongo-0.0.1.2.tar.gz 7.6 kB Without provenance Details

Release files / ga4ghmongo-0.0.1.2.tar.gz

Download URL ga4ghmongo-0.0.1.2.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
614d5e409e993cac2beb5034213d8e1a855d55481d0e2468b4724d1b85719ec8
BLAKE2b-256 checksum
How to use checksums
507c14c9ea8f8f2edb7871233c4dac8c32094acd274ce7f3c9e917c4a856a756
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ga4ghmongo 0.0.1.2

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