BCCDC-PHL / ncov-tools-nf

A nextflow-based workflow for running ncov-tools
2 stars 2 forks source link

When preparing ncov-tools-input directory, create symlinks instead of copies #30

Closed dfornika closed 3 years ago

dfornika commented 3 years ago

The prepare_data_root process creates copies of all alignments to pass into ncov-tools:

https://github.com/BCCDC-PHL/ncov-tools-nf/blob/66397d6b2714cb4810c5572ad615f855cfbaef20/modules/ncov-tools.nf#L74-L95

This has been acceptable for MiSeq runs, but is very slow for runs with high coverage, such as NextSeq runs.

Instead of creating copies in the prepare_data_root step, create symlinks.