Skip to content

JianjunJin/Traversome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traversome

Genomic structure frequency estimation from genome assembly graphs and long reads.

Installation

Install dependencies using conda. I recommend using the mamba version of conda.

mamba create -n traversome_env
mamba activate traversome_env
mamba install python numpy scipy sympy python-symengine dill typer loguru
[Optional] Install dependencies for running Bayesian MCMC. If you want to run Bayesian mcmc with Traversome, you have to install pymc and pytensor. Due to the fast evolving of pymc, sometimes its installation may be unsuccessful and not seen during the installation.
mamba install pytensor pymc

Install Traversome using pip.

git clone --depth=1 https://github.com/JianjunJin/Traversome
pip install ./Traversome --no-deps

Command line interface (CLI)

traversome thorough -g graph.gfa -a align.gaf -o outdir --topo circular --v-comp all

Important optional flags to finetune for achieving valid result (high bootstrap support):

--min-align-id        Threshold for alignment identity, below which the alignment will be discarded. [default: 0.992]
--min-align-len       Threshold for alignment length, below which the alignment will be discarded. [default: 5000]
--min-align-counts    Threshold for counts per path, below which the alignment(s) of that path will be discarded. [default: auto]

Use traversome thorough -h to see details for above flags and other flags.

Interpreting results

|-- output_dir
    |-- traversome.log.txt          running log
    |-- variants.info.tab           information of survival variants after model selection and bootstrap
    |-- bootstrap.replicates.tab    bootstrap results
    |-- final.result.tab            summary of pangenome solutions
    |-- pangenome.gfa               pangenome graph of the best supported result

About

genomic variant frequency estimation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages