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
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
There are two groups of datasets:
- The directly included package data of chromosome I sequence and annotation from assembly R64-1-1 at Ensembl, including:
- Genome sequence (FASTA)
- Coding sequences (FASTA)
- Peptide sequences (FASTA)
- Gene annotation (GFF3, GTF)
- 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
During the initialization process, after the RNA-seq reads are downloaded they are downsampled by:
- Adapter and quality trimming with
fastp - Classification with
kraken2to 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')
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')
Metadata
Release files for yeasti 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yeasti-0.1.1.tar.gz | 124.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yeasti-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 247.8 kB
Release files / yeasti-0.1.1.tar.gz
| Download URL | yeasti-0.1.1.tar.gz |
|---|---|
| Size | 124.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
416f51174de2f688c8e3dcac8951fb0b30dab995cecf2d6a0bb46b99c5a914b8
|
|
BLAKE2b-256 checksum How to use checksums |
4948f1f8bae4fa70aea0e14ebbce5b3dd54a7ee56e8ae8d2d4d5eeaeb372ba48
|
| 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.1-py3-none-any.whl
| Download URL | yeasti-0.1.1-py3-none-any.whl |
|---|---|
| Size | 123.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a5f173e4d357744f4d7345ac9a21144ca74ccf769474704be246f7421243520
|
|
BLAKE2b-256 checksum How to use checksums |
0baecf80ad5ac44209933c99773fb2a96a086a68e278e27b40a859e615005d5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0
|