PanTA
Project description
Pan-genome pipeline
Installation
Depencencies:
- bedtools
- CD-HIT
- BLAST
- DIAMOND
- MCL
- pandas
- SeqIO
The simplest method is installed via conda:
-
Download and install the appropriate conda, such as miniconda from here
-
Create a conda environment with all the necessary dependencies: From the repository directory run
conda create -y -c conda-forge -c defaults --name panta python=3.10 mamba
conda activate panta
mamba install -y -c conda-forge -c bioconda -c anaconda -c defaults --file requirements.txt
pip install .
Usage
Activate conda enviroment:
source activate panta
Main pipeline: run pan-genome analysis for the first time
usage: panta main [-h] [-g [GFF ...]] [-f TSV] -o OUTDIR [-s] [-b {diamond,blast}] [-i IDENTITY] [--LD LD] [--AL AL] [--AS AS] [-e EVALUE]
[-t THREADS] [--table TABLE] [-a [{nucleotide,protein} ...]]
Main pipeline: run pan-genome analysis for the first time
options:
-h, --help show this help message and exit
-g [GFF ...], --gff [GFF ...]
gff input files (default: None)
-f TSV, --tsv TSV tsv input file (default: None)
-o OUTDIR, --outdir OUTDIR
output directory (default: None)
-s, --dont-split dont split paralog clusters (default: False)
-b {diamond,blast}, --blast {diamond,blast}
method for all-against-all alignment (default: diamond)
-i IDENTITY, --identity IDENTITY
minimum percentage identity (default: 0.7)
--LD LD length difference cutoff between two sequences (default: 0)
--AL AL alignment coverage for the longer sequence (default: 0)
--AS AS alignment coverage for the shorter sequence (default: 0)
-e EVALUE, --evalue EVALUE
Blast evalue (default: 1e-06)
-t THREADS, --threads THREADS
number of threads to use, 0 for all (default: 0)
--table TABLE codon table (default: 11)
-a [{nucleotide,protein} ...], --alignment [{nucleotide,protein} ...]
run alignment for each gene cluster (default: None)
Add pipeline: add sample into previous collection
usage: panta add [-h] [-g [GFF ...]] [-f TSV] -c COLLECTION_DIR [-s] [-b {diamond,blast}] [-i IDENTITY] [--LD LD] [--AL AL] [--AS AS]
[-e EVALUE] [-t THREADS] [--table TABLE] [-a [{nucleotide,protein} ...]]
Add pipeline: add sample into previous collection
options:
-h, --help show this help message and exit
-g [GFF ...], --gff [GFF ...]
gff input files (default: None)
-f TSV, --tsv TSV tsv input file (default: None)
-c COLLECTION_DIR, --collection-dir COLLECTION_DIR
previous collection directory (default: None)
-s, --dont-split dont split paralog clusters (default: False)
-b {diamond,blast}, --blast {diamond,blast}
method for all-against-all alignment (default: diamond)
-i IDENTITY, --identity IDENTITY
minimum percentage identity (default: 0.7)
--LD LD length difference cutoff between two sequences (default: 0)
--AL AL alignment coverage for the longer sequence (default: 0)
--AS AS alignment coverage for the shorter sequence (default: 0)
-e EVALUE, --evalue EVALUE
Blast evalue (default: 1e-06)
-t THREADS, --threads THREADS
number of threads to use, 0 for all (default: 0)
--table TABLE codon table (default: 11)
-a [{nucleotide,protein} ...], --alignment [{nucleotide,protein} ...]
run alignment for each gene cluster (default: None)
Example
Basic:
panta main -o examples/test/output -g examples/test/main/*.gff
panta add -c examples/test/output -g examples/test/add/*.gff
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
No source distribution files available for this release.See tutorial on generating distribution archives.
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
panta-1.0.1-py3-none-any.whl
(23.6 kB
view details)
File details
Details for the file panta-1.0.1-py3-none-any.whl.
File metadata
- Download URL: panta-1.0.1-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6195aad006bd26265f4f6db04f93408dd6f31a918498110413fcbff4645bac35
|
|
| MD5 |
1826acca4abdd94a6ae54bec9ceb2b98
|
|
| BLAKE2b-256 |
94697f6f8881c749cb66ff01f75e7f96c270b00c98a2b99e9a90177ce4e3b8bc
|