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 89 forks source link

Allow --ref option to be a symlink. #44

Closed sb10 closed 4 years ago

sb10 commented 4 years ago

We have a directory structure where our reference fasta folder is in 1 directory, and then we have different directories that contain the index files of that fasta produced by different tools.

To use the --ref and have it not run bwa index, we include a symlink of the fasta in the bwa index folder. But bwa index is still run, because the workflow is following the symlink and not finding the index files.

This PR fixes that.