Fast Assembler Workflow for MitoGenome
FastMitoAssembleris a software for fast, accurate assembly of mitochondrial genomes and generation of annotation documents.
Installation
1. create environment
# method 1: use conda [slowly and need large resources]
conda env create -f environment.yml
# method 2: use mamba [*recommended*]
conda install mamba -c conda-forge -y
mamba env create -f environment.yml
# method 3: install manually
conda config --add channels yccscucib
conda config --add channels bioconda
conda config --add channels conda-forge
mamba create -n FastMitoAssembler -y python==3.9.*
mamba install -n FastMitoAssembler -y snakemake
mamba install -n FastMitoAssembler -y NOVOPlasty
mamba install -n FastMitoAssembler -y GetOrganelle
mamba install -n FastMitoAssembler -y spades
mamba install -n FastMitoAssembler -y blast
mamba install -n FastMitoAssembler -y mitoz
mamba install -n FastMitoAssembler -y seqkit
mamba install -n FastMitoAssembler -y meangs
mamba install -n FastMitoAssembler -y click
mamba install -n FastMitoAssembler -y jinja2
mamba install -n FastMitoAssembler -y pyyaml
source $(dirname `which conda`)/activate FastMitoAssembler
python -m pip insatll genbank
2. activate environment
source $(dirname `which conda`)/activate FastMitoAssembler
3. install FastMitoAssembler
python -m pip install -U FastMitoAssembler
# or
python -m pip install -U dist/FastMitoAssembler*whl
Prepare Database
FastMitoAssembler prepare
# 1. prepare ete3.NCBITaxa
FastMitoAssembler prepare ncbitaxa # download taxdump.tar.gz automaticlly
FastMitoAssembler prepare ncbitaxa --taxdump_file taxdump.tar.gz
# 2. prepare database for GetOrganelle
FastMitoAssembler prepare organelle --list # list configured databases
FastMitoAssembler prepare organelle -a animal_mt # config a single database
FastMitoAssembler prepare organelle -a animal_mt -a embplant_mt # config multiple databases
FastMitoAssembler prepare organelle -a all # config all databases
Run Workflow
config.yaml example:
reads_dir: '../data/'
samples: ['2222-4']
fq_path_pattern: '{sample}/{sample}_1.clean.fq.gz' # the reads 1 path pattern relative to `reads_dir`
see the main Snakefile and Template configfile with: FastMitoAssembler --help
Use with Client
FastMitoAssembler --help
FastMitoAssembler run --help
# run with configfile [recommended]
FastMitoAssembler run --configfile config.yaml
# run with parameters
FastMitoAssembler run --reads_dir ../data --samples S1 --samples S2
# set cores
FastMitoAssembler run --configfile config.yaml --cores 8
# dryrun the workflow
FastMitoAssembler run --configfile config.yaml --dryrun
Use with Snakemake
# the `main.smk` and `config.yaml` template can be found with command: `FastMitoAssembler`
snakemake -s /path/to/FastMitoAssembler/smk/main.smk -c config.yaml --cores 4
snakemake -s /path/to/FastMitoAssembler/smk/main.smk -c config.yaml --cores 4 --printshellcmds
snakemake -s /path/to/FastMitoAssembler/smk/main.smk -c config.yaml --printshellcmds --dryrun
Use with Docker
Example Results Directory
[*]represents the main result
result/
└── 2222-4
├── 1.MEANGS
│ ├── 2222-4
│ ├── 2222-4_deep_detected_mito.fas [*]
│ └── scaffold_seeds.fas
├── 2.NOVOPlasty
│ ├── config.txt
│ ├── Contigs_1_2222-4.fasta
│ ├── 2222-4.novoplasty.fasta [*]
│ ├── contigs_tmp_2222-4.txt
│ └── log_2222-4.txt
├── 3.GetOrganelle
│ ├── 2222-4_1.5G.fq.gz
│ ├── 2222-4_2.5G.fq.gz
│ ├── 2222-4.fq1.stats.txt
│ ├── animal_mt.get_organelle.fasta [*]
│ └── organelle
└── 4.MitozAnnotate
├── 2222-4.animal_mt.get_organelle.fasta.result [*]
└── tmp_2222-4_animal_mt.get_organelle.fasta_mitoscaf.fa
Softwares Used
Metadata
Release files for FastMitoAssembler 1.0.3
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 | Actions |
|---|---|---|---|---|
| FastMitoAssembler-1.0.3.tar.gz | 10.2 kB | Without provenance | Details for FastMitoAssembler-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FastMitoAssembler-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for FastMitoAssembler-1.0.3-py3-none-any.whl |
Total release size: 23.0 kB
Release files / FastMitoAssembler-1.0.3.tar.gz
| Download URL | FastMitoAssembler-1.0.3.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9c04e7c99905835b1fa0e17a3495162bd71881d58d3f39f00672f9dbe94d739
|
|
BLAKE2b-256 checksum How to use checksums |
624cb525ac46a4988791850820af759c8e6a23f507bb7f134c39514460020e7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / FastMitoAssembler-1.0.3-py3-none-any.whl
| Download URL | FastMitoAssembler-1.0.3-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00f6da9ecaf8cdc969b50999dff44f102711f235f793986c0d36a726f7357882
|
|
BLAKE2b-256 checksum How to use checksums |
bfbd2c2f1a94fc1b4a7e763766b980f5b15bacdfe2bd9068084239bf9f0ef5ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for FastMitoAssembler 1.0.3
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.