-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from JianjunJin/bootstrap_pangenome
Bootstrap and PanGenome
- Loading branch information
Showing
10 changed files
with
1,109 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,44 @@ | ||
|
||
|
||
# Traversome (Under active development) | ||
# Traversome | ||
Genomic structure frequency estimation from genome assembly graphs and long reads. | ||
|
||
|
||
### Install dependencies | ||
### Installation | ||
|
||
Install dependencies using conda. I recommend using the mamba version of conda. | ||
```bash | ||
mamba create -n traversome_env | ||
mamba activate traversome_env | ||
mamba install python sympy python-symengine pytensor dill typer loguru | ||
``` | ||
<details><summary>[Optional] Install dependencies for running Bayesian MCMC.</summary> | ||
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. | ||
|
||
```bash | ||
conda install dill typer numpy scipy pymc3 sympy loguru -c conda-forge | ||
conda install python-symengine -c symengine -c conda-forge | ||
mamba install pytensor pymc | ||
``` | ||
</details> | ||
|
||
### Install devel version of traversome | ||
Install Traversome using pip. | ||
```bash | ||
git clone --depth=1 https://github.com/Kinggerm/Traversome | ||
pip install -e ./Traversome --no-deps | ||
git clone --depth=1 https://github.com/JianjunJin/Traversome | ||
pip install ./Traversome --no-deps | ||
``` | ||
|
||
### Command line interface (CLI) | ||
|
||
```bash | ||
traversome thorough -g graph.gfa -a align.gaf -o outdir | ||
traversome thorough -g graph.gfa -a align.gaf -o outdir --topo circular --chr all | ||
``` | ||
|
||
### Interpreting results | ||
... | ||
|
||
## Development | ||
|
||
``` | ||
# workflow | ||
|-- __main__.py | ||
|-- traversome.py | ||
|-- __init__.py | ||
|-- SimpleAssembly.py | ||
|-- Assembly.py | ||
|-- GraphAlignRecords.py | ||
|-- CleanGraph.py (still working) | ||
|-- EstCopyDepthFromCov.py | ||
|-- EstCopyDepthPrecise.py (still working) | ||
|-- GraphAlignmentPathGenerator.py | ||
|-- GraphOnlyPathGenerator.py | ||
|-- ModelFitBayesian.py | ||
|-- ModelFitMaxLike.py | ||
|-- 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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.