Skip to content

Commit

Permalink
Final Update
Browse files Browse the repository at this point in the history
Added personal report
small changes in read-me
remove comments in snakemake file
  • Loading branch information
Rendrick27 committed May 17, 2024
1 parent 4fc4161 commit 139a935
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# Phylo Flow

## Description
This tool, developed within the scope of ASB, aims to create a pipeline.
This tool, developed within the scope of ASB.
![Pipeline](./extras/pictures/pipeline.png)


## Requisites
* txt files with genes;
* Python;
* Mafft;
* modeltest-ng;
* raxml-ng;
* Toytree.

### TxT gene files
* at least one txt files with ascn number;
* <a href= "https://www.python.org/"> Python </a> & <a href= "hhttps://biopython.org/"> BioPython </a>
* <a href= "https://mafft.cbrc.jp/alignment/server/index.html"> Mafft </a>;
* <a href= "https://github.com/ddarriba/modeltest"> Modeltest-ng </a>;
* <a href= "https://github.com/amkozlov/raxml-ng"> Raxml-ng </a>;
* <a href= "https://toytree.readthedocs.io/en/latest/index.html"> Toytree </a>;
* <a href= "https://snakemake.readthedocs.io/en/stable/#"> Snakemake </a>;


### txt file formart
```bash
#TxT formart
Sequence_name;ascn_number
Expand All @@ -24,22 +26,23 @@ Paramacrobiotus_gadabouti_sp._nov._MD50.1;OP394210
## Installation
```bash
# Download the project from GitLab
wget https://github.com/Rendrick27/Assignment_01/archive/refs/heads/main.zip
wget https://github.com/Rendrick27/PhyloFlow/archive/refs/heads/main.zip

# Unzip the folder
unzip Assignment_01-main.zip
unzip main.zip
```
Then copy your .txt files into ascn folder.

## Usage
```bash
# Navigate to the Snakemake directory
cd Assignment_01-main.zip
cd main.zip
```
Then, run the following command:
```bash
snakemake --use-conda all --cores 1
```
After that it will show a Tree.svg

## Docker
### Build it
Expand Down
1 change: 0 additions & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ rule maximum_likelihood_tree_step_2:
threads=multiprocessing.cpu_count(),
bootstrap_trees=10000000,
outgroup="Macrobiotus_rybaki"
#outgroup="Macrobiotus_rybaki,Sisubiotus_spectabilis,Mesobiotus_datanlanicus"
shell:
"""
raxml-ng --bootstrap --msa {input.msa} --model {input.model} --threads {params.threads} --seed 27 --bs-trees autoMRE{{{params.bootstrap_trees}}} --force perf_threads --outgroup {params.outgroup}
Expand Down
Binary file not shown.

0 comments on commit 139a935

Please sign in to comment.