CTtools: chrysanthemum transcriptome workflows for prebuilt and custom references
Project description
CTtools
CTtools is a private transcriptome workflow toolkit for chrysanthemum projects.
Author: YifanDong
Design Priority
CTtools encourages users to provide their own reference genome (FASTA), annotation (GFF/GTF) and protein file (PEP) for transparent, reproducible analyses.
Prebuilt species resources are supported as convenience presets, but custom reference workflows are the default recommendation.
Core Capabilities
- Build LSF/bsub scripts for RNA-seq workflows.
- Support two modes:
custom: user-provided references (recommended)prebuilt: use registry-managed species resources
- Support stage-level script generation so users can run full workflow or only selected parts.
- Install Conda environments from YAML files.
Stage-Level Execution
You can generate scripts for full pipeline or partial pipeline via --stages.
prebuiltallowed stages:star,rsem,matrixcustomallowed stages:agat,rsem_prep,star,rsem,matrix
Example:
# custom full workflow (recommended)
python -m cttools lsf-workflow custom \
--reference-fasta ./reference.fa \
--reference-gff ./reference.gff \
--reads-dir ./raw_reads \
--out-root ./analysis_output \
--script-dir ./lsf_scripts
# custom partial workflow (only mapping)
python -m cttools lsf-workflow custom \
--reads-dir ./raw_reads \
--out-root ./analysis_output \
--script-dir ./lsf_scripts \
--stages star
# prebuilt partial workflow (only matrix generation)
python -m cttools lsf-workflow prebuilt \
--species cn_diploid_bramble_head \
--reads-dir ./raw_reads \
--out-root ./analysis_output \
--script-dir ./lsf_scripts \
--stages matrix
# install the software environment
python -m cttools env install \
--file ./cttools.yml \
--name cttools \
--mode create
Environment Installation
CTtools now includes a Conda environment installer.
Recommended command:
python -m cttools env install --file ./cttools.yml --name cttools
Useful options:
--mode create: create a new environment from the YAML file--mode update: update an existing environment--prefix /path/to/env: install into a specific prefix instead of a named env--dry-run: print the conda command without executing it
The command prints JSON output so it can be used in automation scripts.
Species Naming and Citation Attribution
The built-in prebuilt species registry has been updated to include official naming and citation notes to avoid attribution ambiguity.
Chrysanthemum morifolium (Cmo), hexaploid cultivar zhongshanziguiChrysanthemum nankingense (Cn_A), diploid haplotype assemblyChrysanthemum nankingense (Cn_AB), diploid complete assemblyChrysanthemum seticuspe (CsGojo)
Citation notes in registry:
- Song, A., Su, J., Wang, H. et al. Analyses of a chromosome-scale genome assembly reveal the origin and evolution of cultivated chrysanthemum. Nat Commun 14, 2021 (2023). DOI:
https://doi.org/10.1038/s41467-023-37730-3 - Nakano M, Hirakawa H, Fukai E, et al. Communications Biology, 2021, 4(1):1167
Quick Start
python -m pip install -e .
python -m cttools --help
python -m cttools registry list
python -m cttools env install --file ./cttools.yml --name cttools --dry-run
Repository Layout
src/cttools/: core packageresources/: external registry templatesrc/cttools/resources/: packaged registry used by defaultdocs/: architecture and requirement notestests/: unit and integration tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cttools_chrysanthemum-0.2.1-py3-none-any.whl.
File metadata
- Download URL: cttools_chrysanthemum-0.2.1-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d869fa3f9187e67a2c2ed177484bedcd2f85f514177dcbbf0ef3e892703b05d6
|
|
| MD5 |
9bd502c5f1e08696fb2200dd2423773d
|
|
| BLAKE2b-256 |
5995d15daf971658fbae663e676448c78ffe76cd39e26ef24750d672d591c42d
|