Juno: read data generator
Juno have two methods to generate reads fastq.
- Download the real fastq submitted to NCBI SRA from the contributors
- Simulate the "fake" fastq
If you want to develope genomic tools but has no real data, juno can generate the read fastq for your testing.
Juno is also available as a public online resource: https://juno.hlin.tw
Requirements
- Linux
- Python >= 3.6
Installation
Pypi version
https://pypi.org/project/juno/
pip install juno
Intall from source
git clone https://github.com/hunglin59638/juno.git
cd juno
python3 setup.py install
CLI
juno -h
usage: juno [-h] SUBCOMMAND ...
Juno: read data generator
optional arguments:
-h, --help show this help message and exit
subcommands:
subcommands
SUBCOMMAND
sra Download reads from SRA database
simulate Simulating reads by reference genome
Download reads from SRA database
juno sra -a SRR19400588 -o /path/to/directory
Simulate reads fastq
There are two way to simulate read fastq
- Input your genome fasta
juno simulate -r /your/genome/fasta -o /path/to/directory --compressed --depth 200
- Input RefSeq assembly accession and its genome will be downloaded from NCBI
juno simulate -a GCF_002004995.1 -o /path/to/directory --compressed --depth 200
Tips: depth is greater than 200x is the better parameter for bacteria
Update local NCBI RefSeq assembly summary
juno simulate --update
Python API
Use Case: Update NCBI RefSeq Assembly Summary and get it in local
from juno.data import Assembly
assembly = Assembly()
assembly.update_assembly()
df = assembly.dataframe
df.head()
assembly_accession bioproject biosample wgs_master refseq_category taxid species_taxid organism_name infraspecific_name isolate version_status assembly_level release_type genome_rep seq_rel_date asm_name submitter gbrs_paired_asm
0 GCF_000001215.4 PRJNA164 SAMN02803731 reference genome 7227 7227 Drosophila melanogaster latest Chromosome Major Full 2014/08/01 Release 6 plus ISO1 MT The FlyBase Consortium/Berkeley Drosophila Genome Project/Celera Genomics GCA_000001215.4
1 GCF_000001405.40 PRJNA168 reference genome 9606 9606 Homo sapiens latest Chromosome Patch Full 2022/02/03 GRCh38.p14 Genome Reference Consortium GCA_000001405.29
2 GCF_000001635.27 PRJNA169 reference genome 10090 10090 Mus musculus latest Chromosome Major Full 2020/06/24 GRCm39 Genome Reference Consortium GCA_000001635.9
3 GCF_000001735.4 PRJNA116 SAMN03081427 reference genome 3702 3702 Arabidopsis thaliana ecotype=Columbia latest Chromosome Minor Full 2018/03/15 TAIR10.1 The Arabidopsis Information Resource (TAIR) GCA_000001735.2
4 GCF_000001905.1 PRJNA70973 SAMN02953622 AAGU00000000.3 representative genome 9785 9785 Loxodonta africana ISIS603380 latest Scaffold Major Full 2009/07/15 Loxafr3.0 Broad Institute GCA_000001905.1
Use Case: Download assembly genome
from juno.data import Assembly
assembly = Assembly()
genome_path = assembly.download("GCF_002004995.1", "/your/output/directory")
Use Case: Simulate reads from genome reference
from juno.simulator import Simulator
sm = Simulator
Citation
- pysradb: A Python package to query next-generation sequencing metadata and data from NCBI Sequence Read Archive (https://f1000research.com/articles/8-532/v1)
- PBSIM2: a simulator for long-read sequencers with a novel generative model of quality scores (https://doi.org/10.1093/bioinformatics/btaa835)
Metadata
Release files for bio-juno 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bio-juno-1.0.0.tar.gz | 27.4 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bio_juno-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.3 MB
Release files / bio-juno-1.0.0.tar.gz
| Download URL | bio-juno-1.0.0.tar.gz |
|---|---|
| Size | 27.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20ccaa920926d691d09b7ce129d0ab52e8e03ca025ff175b86e0c1b01e86155d
|
|
BLAKE2b-256 checksum How to use checksums |
aab21d5a2cc5ecfb34aad2ef95aa8b03197e5852f02b4bab8a3f620be1e152d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|
Release files / bio_juno-1.0.0-py3-none-any.whl
| Download URL | bio_juno-1.0.0-py3-none-any.whl |
|---|---|
| Size | 27.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62f28e12586256bde8416411b1d5616aab15918a7c6b28d9844b4cc93071517b
|
|
BLAKE2b-256 checksum How to use checksums |
73c2f3855e31c6b803e1b907f1d78aedcd4f5ffc987a515f5744f302db2a8368
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|
Security for bio-juno 1.0.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.