connor-lab / ncov2019-artic-nf

A Nextflow pipeline for running the ARTIC network's fieldbioinformatics tools (https://github.com/artic-network/fieldbioinformatics), with a focus on ncov2019
GNU Affero General Public License v3.0
89 stars 88 forks source link

Allow use of local scheme files #16

Closed sb10 closed 4 years ago

sb10 commented 4 years ago

In a large scale production environment, it is desirable to minimise the number of steps in the workflow, to avoid internet access, and to avoid re-creation of the same output files for every run of the workflow, which may get run thousands of times.

To this end, this PR enables 2 modes.

In the first, you can supply --schemeRepoURL /path/to/own/clone/of/github.com/artic-network/artic-ncov2019. This stops the git clone step, and you can run the workflow many times on a known fixed revision of the repo.

In the second, you can supply both --ivarBed /path/to/ivar-compatible.bed and --alignerRefPrefix /path/to/bwa-indexed/ref.fa. This also stops the reference fasta from being reindexed all the time.