Skip to content

Commit

Permalink
Fix bug with graphviz not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Talenti committed Mar 3, 2021
1 parent 3495a6e commit 0c14cee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,15 @@ We recommend to use soft-masked genomes to reduce computation time for aligners
### Download from NCBI
*nf-LO* can download from ncbi directly using the [datasets](https://www.ncbi.nlm.nih.gov/datasets/docs/command-line-start/) software. Users can provide a GCA/GCF codes instead of the input, and specify that is a ncbi download with the flags `--ncbi_source` and `--ncbi_target` as follow:
```
nextflow run RenzoTale88/nf-LO --source GCF_001549955.1 --target GCF_011751205.1 --ncbi_source --ncbi_target -profile local,test
nextflow run RenzoTale88/nf-LO --source GCF_001549955.1 --target GCF_011751205.1 --ncbi_source --ncbi_target -profile local,test -r 1.5.0
```
The workflow will download the [datasets](https://www.ncbi.nlm.nih.gov/datasets/docs/command-line-start/) utility locally and use it to retrieve the genomes.


## Running the pipeline
To test the pipeline locally, simply run:
```
nextflow run RenzoTale88/nf-LO
-profile test,docker
nextflow run RenzoTale88/nf-LO -r 1.5.0 -profile test,docker
```
This will download and run the pipeline on the two toy genomes provided and generate liftover files. If you have all dependencies installed locally
you can omit ```docker``` from the profile configuration.
Expand All @@ -95,7 +94,7 @@ nextflow run RenzoTale88/nf-LO \
--liftover_algorithm crossmap \
--outdir ./my_liftover \
--publish_dir_mode copy \
-profile docker
-profile docker -r 1.5.0
```
This analysis will run using genome1 and genome2 as source and target, respectively. The source genome will be fragmented in chunks of 20Mb,
whereas the target will be fragmented in 10Mb chunks overlapping 100Kb. It will use lastz as aligner using the preset for closely related genomes (near).
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- lastz=1.0.4
- minimap2=2.17
- crossmap
- graphviz
- GSAlign
- ucsc-axtchain
- ucsc-blat
Expand Down
1 change: 0 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,4 @@ manifest {
mainScript = 'main.nf'
nextflowVersion = '>=20.07.1'
version = '1.5.0'
defaultBranch = 'main'
}

0 comments on commit 0c14cee

Please sign in to comment.