Skip to main content

genome_windows_generator

Travis CI build SonarCloud Quality SonarCloud Maintainability Codacy Maintainability Maintainability Pypi project Pypi total project downloads

How do I install this package?

As usual, just download it using pip:

pip install genome_windows_generator

Tests Coverage

Since some software handling coverages sometime get slightly different results, here’s three of them:

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

from genome_windows_generator import GenomeWindowsGenerator, NoisyWindowsGenerator

dg = NoisyWindowsGenerator(
    assembly="hg19",
    window_size=200,
    batch_size=3,
    buffer_size=5,
    test_chromosomes=["chr1", "chr5"]
)

The methods train, test returns two independant generator of the train data and test data respectivly.

This is package is mainly meant to be used with keras’s fit_generator.

model.fit_generator(
    epochs=100,
    generator=dg.generator(),
    steps_per_epoch=dg.steps_per_epoch(),
    validation_data=dg.validation_data(),
    validation_steps=dg.validation_steps(),
)

Metadata

Release files for genome-windows-generator 1.1.0

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

Source distribution (sdist)

Source distribution for genome-windows-generator 1.1.0
File Size Uploaded Provenance Actions
genome_windows_generator-1.1.0.tar.gz 6.1 kB Without provenance Details for genome_windows_generator-1.1.0.tar.gz

Release files / genome_windows_generator-1.1.0.tar.gz

Download URL genome_windows_generator-1.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
19bbe1b457b7b350672d26bf7706729f6af287b0ea1b0cbd3f6b76bd761885df
BLAKE2b-256 checksum
How to use checksums
84c9d9c251bb13c297e531f2b015be2ac70272808dd64b9bc781879c37b623c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for genome-windows-generator 1.1.0

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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file No provenance

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