Skip to main content

YeastI

Introduction

This package contains a set of minimal eukaryotic genome and transcriptome datasets from chromosme I of Saccharomyces cerevisiae. They may, for example, be useful for rapidly testing a RNA-seq bioinformatics pipeline.

Installation

Ensure your computing environment includes Python 3.11 or later and the following bioinformatics tools:

  • sra-tools
  • pigz
  • fastp
  • kraken2

Conda is useful for setting up this environment. Then, YeastI can be installed with Pip:

conda create -c conda-forge -c bioconda -n yeasti \
  biopython pysradb sra-tools pigz fastp kraken2
conda activate yeasti
pip install yeasti

Usage

Run yeasti without arguments to list the help text of all subcommands

yeasti
usage: yeasti [-h] [--version] {init,path,metadata,download,sheet,trim,classify} ...

Small dataset of yeast chromosome 1

positional arguments:
  {init,path,metadata,download,sheet,trim,classify}
    init                fully initialize the dataset by downloading, trimming, and classifying RNA-seq reads
    path                show paths to data directory and files
    metadata            fetch sra metadata
    download            download RNA-seq reads
    sheet               sample sheet for yeasti rna-seq dataset
    trim                trim downloaded reads
    classify            classify downloaded reads

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit

To download and downsample all RNA-seq data, run:

yeasti init

Use yeasti path to get the absolute path for a data file

yeasti path data-dir
yeasti path genome
yeasti path cds
yeasti path pep
yeasti path gff
yeasti path gtf
yeasti path sheet

yeasti path can also fetch paths to datasets for the two alternate species:

yeasti path genome-skud
yeasti path genome-smik

To see the sample sheet listing the locations of the RNA-seq reads:

yeasti sheet

If you need the data at another location, you can symbolically link to the YeastI dataset, or copy the contents to another directory

ln -s `yeasti path data-dir` test_data/
cp -r `yeasti path data-dir` test_data/

To see the SRA metadata of the RNA-seq reads:

yeasti metadata

To execute the initialization steps individually:

yeasti download
yeasti trim
yeasti classify

Datasets

yeasti-datasets.png

There are two groups of datasets:

  1. The directly included package data of chromosome I sequence and annotation from S. cerevisiae assembly R64-5-1 at NCBI, including:
    • Genome sequence (FASTA)
    • Coding sequences (FASTA)
    • mRNA transcripts (FASTA)
    • Peptide sequences (FASTA)
    • Gene annotation (GFF3, GTF)
    • Sequences and annotations (chromosome 1) are also included for two other Saccharomyces species: S. kudriavzevii and S. mikatae.
  2. The RNA-seq reads from Prigent et al. (2024), which are downloaded from SRA/NCBI BioProject PRJNA842028 and downsampled to include only chromosome I reads by running an included script.
    • The study sequenced mRNA from S. cerevisiae under sulfur starvation at four timepoints with three replicates each, but only two of the timepoints are included in YeastI (T0 and T120).
    • Other similar dataset references can also be found at the Saccharomyces Genome Database.

Downsampling RNA-seq

yeasti-init.png

During the initialization process, after the RNA-seq reads are downloaded they are downsampled by:

  1. Adapter and quality trimming with fastp
  2. Classification with kraken2 to filter out all reads that do not match chromosome I

Configuration

You can configure some YEASTI settings using environment variables or a TOML file.

Environment variables

export YEASTI_DOWNLOAD_DIR = /absolute/path/to/directory/
export YEASTI_TAXID = <integer>
export YEASTI_SAMPLE_SHEET = /absolute/path/to/sample_sheet.csv
export YEASTI_KRAKEN2_DB /absolute/path/to/kraken2_db/

Config file

By default, YeastI looks for configuration in TOML format at $HOME/.yeasti.toml

download_dir = /absolute/path/to/directory/
taxid = <integer>
sample_sheet = /absolute/path/to/sample_sheet.csv
kraken2_db = /absolute/path/to/kraken2_db/

The location of the config file can also be set using an environment variable:

export YEASTI_CONFIG_FILE=/absolute/path/to/alternate/config.toml

Python API

YeastI resources can also be accessed from within python:

import yeasti
yeasti.init()
yeasti.path('genome')
yeasti.path('genome-skud')
metadata = yeasti.metadata()
sample_sheet = yeasti.create_sample_sheet(metadata)
yeasti.write_sample_sheet(sample_sheet, 'sample_sheet.csv')
yeasti.download()
yeasti.trim('reads_1.fastq.gz', 'reads_2.fastq.gz')
yeasti.classify('reads_1.fastq.gz', 'reads_2.fastq.gz')
yeasti.taxid
yeasti.busco

Example usage with nf-core pipelines

Conda environment

conda create -c conda-forge -c bioconda -n yeasti-nf-core \
  biopython pysradb sra-tools pigz fastp kraken2 nextflow nf-core
conda activate yeasti-nf-core
pip install yeasti

nf-core/genomeqc

echo '{"is_plant": false, "skip_busco": false, "skip_tidk": false}' > genomeqc-params.json
yeasti sheet --pipeline nf-core-genomeqc > sample_sheet.csv
nextflow run nf-core/genomeqc -r 1.0.1 \
  -profile <docker/singularity/.../institute> \
  -params-file genomeqc-params.json \
  --input sample_sheet.csv \
  --outdir genomeqc_output_dir/ \
  --busco_lineage `yeasti busco`

nf-core/seqinspector

yeasti sheet --pipeline nf-core-seqinspector > sample_sheet.csv
nextflow run nf-core/seqinspector \
  -profile <docker/singularity/.../institute> \
  --input sample_sheet.csv \
  --outdir seqinspector_output_dir/

nf-core/seqinspector

yeasti sheet --pipeline nf-core-seqinspector > sample_sheet.csv
nextflow run nf-core/seqinspector \
  -profile <docker/singularity/.../institute> \
  --input sample_sheet.csv \
  --outdir seqinspector_output_dir/ \
  --fasta `yeasti path genome`

nf-core/rnaseq

yeasti sheet > sample_sheet.csv
nextflow run nf-core/rnaseq \
  -profile <docker/singularity/.../institute> \
  --input sample_sheet.csv \
  --outdir rnaseq_output_dir/ \
  --fasta `yeasti path genome` \
  --gtf `yeasti path gtf`

nf-core/denovotranscript

yeasti sheet > sample_sheet.csv
nextflow run nf-core/denovotranscript -r 1.2.1 \
  -profile <docker/singularity/.../institute> \
  --input sample_sheet.csv \
  --outdir denovotranscript_output_dir/ \
  --assemblers rnaspades

Metadata

Release files for yeasti 0.1.9

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

Source distribution (sdist)

Source distribution for yeasti 0.1.9
File Size Uploaded Provenance Actions
yeasti-0.1.9.tar.gz 787.5 kB Without provenance Details for yeasti-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yeasti 0.1.9
File Interpreter ABI Platform Actions
yeasti-0.1.9-py3-none-any.whl Python 3 none any Details for yeasti-0.1.9-py3-none-any.whl

Total release size: 1.6 MB

Release files / yeasti-0.1.9.tar.gz

Download URL yeasti-0.1.9.tar.gz
Size 787.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b5a86befa4a56cad24c861fbff056a921feb1ffe604393201b5ada97dbaa33b6
BLAKE2b-256 checksum
How to use checksums
9b8169ba2d039539ae4b090031420cfc95c15d11600b90c79d08cd323eb42d95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

Release files / yeasti-0.1.9-py3-none-any.whl

Download URL yeasti-0.1.9-py3-none-any.whl
Size 786.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84c72412f2af9a2a1c14f2fb0c78f84dbc940ad9dea1be3bd84219564d8fe621
BLAKE2b-256 checksum
How to use checksums
97ee8928fc0936ee63dece37eebc6f6c62a99da49973cb83f60f5d8ad1e37a90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

Security for yeasti 0.1.9

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