Skip to content
Snippets Groups Projects
Commit 7a285dae authored by John Lafin's avatar John Lafin
Browse files

use ref if path supplied

parent 2d33b0e6
Branches
Tags
No related merge requests found
Pipeline #13561 canceled with stages
in 18 minutes and 4 seconds
...@@ -117,7 +117,10 @@ process get_reference { ...@@ -117,7 +117,10 @@ process get_reference {
workflow { workflow {
// Select reference genome // Select reference genome
if (params.reference == "hg38") { if (file(params.reference).exists()) {
ref = file(params.reference)
}
else if (params.reference == "hg38") {
ref = file("/project/apps_database/cellranger/refdata-gex-GRCh38-2020-A") ref = file("/project/apps_database/cellranger/refdata-gex-GRCh38-2020-A")
} }
else if (params.reference == "mm10") { else if (params.reference == "mm10") {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment