Skip to main content

Python package to generate on-hot encoded biological gaps to use for training and prediction.

Project description

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

Python package to generate on-hot encoded biological gaps to use for training and prediction.

How do I install this package?

As usual, just download it using pip:

pip install keras_biological_gaps_sequences

Tests Coverage

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

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

Available datasets

Currently, there is only a dataset of gaps available within the package: the mapping of known gaps from hg19 to hg38. In the future, we will be adding more mapping.

Usage example

To use the sequence you can do as follows:

biological_gap_sequence = BiologicalGapsSequence(
    source="hg19",
    target="hg38",
    source_window_size=1000,
    target_window_size=1000,
    batch_size=32
)

model = build_my_denoiser()
model.fit_generator(
    biological_gap_sequence,
    steps_per_epoch=biological_gap_sequence.steps_per_epoch,
    epochs=2,
    shuffle=True
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keras_biological_gaps_sequence-1.0.2.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page