Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce computational time of AWS megatest #158

Merged
merged 42 commits into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f575591
Reduce features of fulltest
Nov 10, 2024
b5e7d91
Update changelog
Nov 11, 2024
01e0927
Check for multiple sample before splitting
Nov 11, 2024
976f2ff
Fix case if empty
LouisLeNezet Nov 12, 2024
2aed82f
Update snapshot phasing sbwf
LouisLeNezet Nov 12, 2024
7222146
Update CHANGELOG
LouisLeNezet Nov 12, 2024
826ca63
Update config
LouisLeNezet Nov 12, 2024
c600724
Add query version
LouisLeNezet Nov 12, 2024
2ca561d
Remove unecessary sbwf inclusion
LouisLeNezet Nov 12, 2024
1512e82
Update changelog and add dependencies
LouisLeNezet Nov 12, 2024
eeb8825
Fix window size
LouisLeNezet Nov 12, 2024
add70ee
Fix name output suffix
LouisLeNezet Nov 12, 2024
50344fe
Update config
Nov 12, 2024
70a3aaf
Fix small naming
Nov 12, 2024
4ff1ed0
Clean multiqc
Nov 12, 2024
e0b8d1b
Update output.md
Nov 12, 2024
2002404
Update nf-test and snapshot
Nov 12, 2024
96258d3
Fix config import order
Nov 12, 2024
b65bfa0
Reset changes
Nov 13, 2024
320ae35
Update pluginsplit
Nov 13, 2024
028f097
Update test
Nov 13, 2024
3c75649
Update changelog and remove bcftools query from config
Nov 13, 2024
1262ef2
Update output.md and remove bcftools query from config
Nov 13, 2024
0a5cb05
Update nf-test sbwf
Nov 13, 2024
9802306
Update docs/output.md
LouisLeNezet Nov 17, 2024
ae061f6
Merge branch 'dev' into fulltest_only
LouisLeNezet Nov 17, 2024
c2a0d0d
Reset changes
Nov 17, 2024
42c5b68
Reset pluginsplit
Nov 17, 2024
ad643d1
Add back lenient mode in PR
Nov 17, 2024
9d95bad
Change resourceLimits
Nov 17, 2024
3cc9f7a
Set back testquality
Nov 17, 2024
24b6321
Change resourceLimits
Nov 17, 2024
d299471
Reset VCF_SPLIT_BCFTOOLS
Nov 17, 2024
e63304e
Add chunks size config
Nov 17, 2024
ae4e4fb
Update snapshot
Nov 17, 2024
6c2efb4
Reset change
Nov 17, 2024
e05b8ef
Reset change
Nov 17, 2024
861a0ee
Update snapshot
Nov 17, 2024
0e47798
Merge branch 'dev' into fulltest_only
LouisLeNezet Nov 18, 2024
6ba6eba
Merge branch 'dev' into fulltest_only
LouisLeNezet Nov 23, 2024
f8c01ac
Update snapshot
Nov 23, 2024
10d95fe
Update snapshot
Nov 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Special thanks to [Matthias Hörtenhuber](https://github.com/mashehu) and [Mazza
- [#153](https://github.com/nf-core/phaseimpute/pull/153) - Update and simplify subworkflows snapshot and check only for files names (no md5sum for bam and vcf files due to timestamp).
- [#157](https://github.com/nf-core/phaseimpute/pull/157) - Add `chunk_model` as parameter for better control over `GLIMPSE2_CHUNK` and set window size in `GLIMPSE1_CHUNK` and `GLIMPSE2_chunk` to 4mb to reduce number of chunks (empirical).
- [#160](https://github.com/nf-core/phaseimpute/pull/160) - Improve `CHANGELOG.md` and add details to `usage.md`
- [#158](https://github.com/nf-core/phaseimpute/pull/158) - Remove frequency computation and phasing from full test to reduce cost and computational time.

### `Fixed`

Expand All @@ -73,6 +74,7 @@ Special thanks to [Matthias Hörtenhuber](https://github.com/mashehu) and [Mazza
- [#75](https://github.com/nf-core/phaseimpute/pull/75) - Set frequency computation with `VCFFIXUP` process as optional with `--compute_freq`. Use `GLIMPSE_CHUNK` on panel vcf to compute the chunk and not makewindows on fasta.
- [#117](https://github.com/nf-core/phaseimpute/pull/117) - Fix directories in CSV.
- [#151](https://github.com/nf-core/phaseimpute/pull/151) - Fix `Type not supported: class org.codehaus.groovy.runtime.GStringImpl` error due to `String` test in `getFileExtension()`.
- [#158](https://github.com/nf-core/phaseimpute/pull/158) - Fix contigs usage when regions is only a subset of the given contigs (e.g. if panel file has the 22 chr and the region file only 2 then only the 2 common will be processed). Fix `multiQC` samples names for better comprehension. Fix `-resume` errors when `ch_fasta` is use by adding `cache = 'lenient'` in necessary processes. Fix `--window-size` of `GLIMPSE_CHUNK` from `4` to `4000000`.
- [#153](https://github.com/nf-core/phaseimpute/pull/153) - Fix getFileExtension function. Fix image in `usage.md`. Fix small warnings and errors with updated language server. `def` has been added when necessary, `:` use instead of `,` in assertions, `_` added to variables not used in closures, `for` loop replaced by `.each{}`, remove unused code / input.
- [#161](https://github.com/nf-core/phaseimpute/pull/161) - Fix `VCF_SPLIT_BCFTOOLS` when only one sample present by updating `BCFTOOLS_PLUGINSPLIT` and adding `BCFTOOLS_QUERY` to get truth samples names for renaming the resulting files.

Expand Down
7 changes: 7 additions & 0 deletions assets/multiqc_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ top_modules:
export_plots: true

disable_version_detection: true

fn_clean_trim:
- ".panel"

extra_fn_clean_exts:
- type: regex
pattern: "\\.batch[0-9]+"
Comment on lines +24 to +26
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we now remove the batch number from the statistics, aren't all batches going to have the same name? How we will differentiate between batches? I haven't been able to process a test with >1 batch to see how the report will look like.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is batch file processed in the statistic. The aim to remove this pattern was to clean up a bit the name of the sample in the multiqc output html.
What could be done would be to allow the grouping of the samples by batch in the multiqc output (enable by the last multiqc version). But I think this should be done outside this PR.

8 changes: 5 additions & 3 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ process {
// Simulation
// Coverage process
withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:SAMTOOLS_COVERAGE_INP' {
ext.prefix = { "${meta.id}.A-truth" }
cache = "lenient"
LouisLeNezet marked this conversation as resolved.
Show resolved Hide resolved
ext.prefix = { "${meta.id}.truth" }
publishDir = [ enabled: false ]
}
withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:SAMTOOLS_COVERAGE_DWN' {
ext.prefix = { "${meta.id}.B-sim" }
cache = "lenient"
ext.prefix = { "${meta.id}" }
publishDir = [ enabled: false ]
}

Expand Down Expand Up @@ -75,7 +77,7 @@ process {

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:LIST_TO_FILE' {
tag = { "${meta.id}" }
ext.prefix = { "${meta.id}.${meta.batch}" }
ext.prefix = { "${meta.id}.batch${meta.batch}" }
publishDir = [
path: { "${params.outdir}/imputation/batch" },
mode: params.publish_dir_mode,
Expand Down
8 changes: 5 additions & 3 deletions conf/steps/imputation_glimpse1.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ process {
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:GL_GLIMPSE1:BCFTOOLS_MPILEUP' {
cache = "lenient"
ext.args = [
"-I",
"-E",
Expand All @@ -39,6 +40,7 @@ process {
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:GL_GLIMPSE1:BCFTOOLS_MERGE' {
cache = "lenient"
ext.args = [
"--write-index=tbi",
].join(' ')
Expand All @@ -58,7 +60,7 @@ process {

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:VCF_IMPUTE_GLIMPSE1:GLIMPSE_PHASE' {
ext.args = ["--impute-reference-only-variants"].join(' ')
ext.prefix = { "${meta.id}_batch${meta.batch}_${meta.chunk.replace(':','_')}_phase" }
ext.prefix = { "${meta.id}.batch${meta.batch}.${meta.chunk.replace(':','_')}.glimpse1" }
ext.suffix = "bcf"
publishDir = [ enabled: false ]
}
Expand All @@ -69,7 +71,7 @@ process {
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:VCF_IMPUTE_GLIMPSE1:GLIMPSE_LIGATE' {
ext.prefix = { "${meta.id}_batch${meta.batch}_${meta.chr}_ligate" }
ext.prefix = { "${meta.id}.batch${meta.batch}.${meta.chr}.ligate.glimpse1" }
publishDir = [ enabled: false ]
}

Expand All @@ -89,6 +91,6 @@ process {

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:CONCAT_GLIMPSE1:BCFTOOLS_CONCAT' {
ext.args = ["--ligate", "--output-type z", "--write-index=tbi"].join(' ')
ext.prefix = { "${meta.id}_batch${meta.batch}.glimpse1" }
ext.prefix = { "${meta.id}.batch${meta.batch}.glimpse1" }
}
}
7 changes: 4 additions & 3 deletions conf/steps/imputation_glimpse2.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ process {
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:BAM_IMPUTE_GLIMPSE2:GLIMPSE2_PHASE' {
ext.prefix = { "${meta.id}_batch${meta.batch}_${meta.chunk.replace(':','_')}_glimpse2" }
cache = "lenient"
ext.prefix = { "${meta.id}.batch${meta.batch}.${meta.chunk.replace(':','_')}.glimpse2" }
ext.args = { "--keep-monomorphic-ref-sites" }
ext.suffix = "bcf"
publishDir = [ enabled: false ]
Expand All @@ -30,7 +31,7 @@ process {
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:BAM_IMPUTE_GLIMPSE2:GLIMPSE2_LIGATE' {
ext.prefix = { "${meta.id}_batch${meta.batch}_${meta.chr}_ligate" }
ext.prefix = { "${meta.id}.batch${meta.batch}.${meta.chr}.ligate" }
publishDir = [ enabled: false ]
}

Expand All @@ -51,6 +52,6 @@ process {

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:CONCAT_GLIMPSE2:BCFTOOLS_CONCAT' {
ext.args = ["--ligate", "--output-type z", "--write-index=tbi"].join(' ')
ext.prefix = { "${meta.id}_batch${meta.batch}.glimpse2" }
ext.prefix = { "${meta.id}.batch${meta.batch}.glimpse2" }
}
}
6 changes: 3 additions & 3 deletions conf/steps/imputation_quilt.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ process {
// Impute quilt
withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:BAM_IMPUTE_QUILT:QUILT_QUILT' {
ext.args = "--seed=${params.seed}"
ext.prefix = { "${meta.id}_batch${meta.batch}_${meta.chr}_${meta.chunk}.impute" }
ext.prefix = { "${meta.id}.batch${meta.batch}.${meta.chunk.replace(':','_')}.quilt" }
publishDir = [enabled: false]
}

// Annotate quilt imputed VCFs
withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:BAM_IMPUTE_QUILT:BCFTOOLS_ANNOTATE' {
ext.args = ["--set-id '%CHROM:%POS:%REF:%ALT'", "-Oz", "--write-index=tbi"].join(' ')
ext.prefix = { "${meta.id}_batch${meta.batch}_${meta.chr}_${meta.chunk}.impute.annotate" }
ext.prefix = { "${meta.id}.batch${meta.batch}.${meta.chunk.replace(':','_')}.quilt.annotate" }
publishDir = [ enabled: false ]
}

Expand All @@ -45,6 +45,6 @@ process {

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:CONCAT_QUILT:BCFTOOLS_CONCAT' {
ext.args = ["--ligate", "--output-type z", "--write-index=tbi"].join(' ')
ext.prefix = { "${meta.id}_batch${meta.batch}.quilt" }
ext.prefix = { "${meta.id}.batch${meta.batch}.quilt" }
}
}
7 changes: 4 additions & 3 deletions conf/steps/imputation_stitch.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ process {

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:BAM_IMPUTE_STITCH:GAWK' {
ext.args2 = "'BEGIN { OFS=\"\\t\" } NR>1 { split(\$1, a, \"[:-_]\"); print a[1], \$2, \$3, \$4 }'" // Remove duplicates
ext.prefix = { "${meta.id}_batch${meta.batch}_${meta.chr}_posfile_stitch" }
ext.prefix = { "${meta.id}.batch${meta.batch}.${meta.chr}.posfile.stitch" }
LouisLeNezet marked this conversation as resolved.
Show resolved Hide resolved
ext.suffix = "txt"
publishDir = [enabled: false]
tag = {"${meta.id} ${meta.chr}"}
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:BAM_IMPUTE_STITCH:STITCH' {
ext.prefix = { "${meta.id}_batch${meta.batch}.stitch" }
cache = "lenient"
ext.prefix = { "${meta.id}.batch${meta.batch}.${meta.chr}.stitch" }
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:BAM_IMPUTE_STITCH:BCFTOOLS_INDEX' {
Expand All @@ -44,6 +45,6 @@ process {

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:CONCAT_STITCH:BCFTOOLS_CONCAT' {
ext.args = ["--ligate", "--output-type z", "--write-index=tbi"].join(' ')
ext.prefix = { "${meta.id}_batch${meta.batch}.stitch" }
ext.prefix = { "${meta.id}.batch${meta.batch}.stitch" }
}
}
2 changes: 1 addition & 1 deletion conf/steps/panel_prep.config
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ process {
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:VCF_CHUNK_GLIMPSE:GLIMPSE_CHUNK' {
ext.args = "--window-size 4"
ext.args = "--window-size 4000000"
LouisLeNezet marked this conversation as resolved.
Show resolved Hide resolved
ext.prefix = { "${meta.id}_${meta.chr}_chunks_glimpse1" }
publishDir = [
path: { "${params.outdir}/prep_panel/chunks/glimpse1/" },
Expand Down
6 changes: 3 additions & 3 deletions conf/steps/validation.config
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ process {
"-Aim",
"-C alleles"
].join(' ')
ext.prefix = { "${meta.id}_truth.call" }
ext.prefix = { "${meta.id}.truth.call" }
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:GL_TRUTH:BCFTOOLS_MERGE' {
Expand All @@ -52,7 +52,7 @@ process {

// Concatenate the truth set
withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:CONCAT_TRUTH:.*' {
ext.prefix = { "${meta.id}.A-truth" }
ext.prefix = { "${meta.id}.batch${meta.batch}.truth" }
publishDir = [
path: { "${params.outdir}/validation/concat" },
mode: params.publish_dir_mode,
Expand Down Expand Up @@ -84,7 +84,7 @@ process {
publishDir = [
path: { "${params.outdir}/validation/samples" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
saveAs: { filename -> filename.equals('versions.yml') ? null : filename}
]
}

Expand Down
2 changes: 1 addition & 1 deletion conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
memory: '4.GB',
time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_all.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '10.GB',
cpus: 4,
memory: '4.GB',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it can handle up to 15GB

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This limit was also set for my WSL virtual machine that only go up to 7Gb.

time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_batch.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '2.GB',
cpus: 4,
memory: '4.GB',
time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_dog.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '2.GB',
cpus: 4,
memory: '4.GB',
time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_full.config
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ params {
// Panelprep optional args
remove_samples = "NA12878,NA12891,NA12892"
normalize = true
compute_freq = true
phase = true
compute_freq = false
phase = false

// Impute tools
tools = "glimpse1"
Expand Down
4 changes: 2 additions & 2 deletions conf/test_glimpse2.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '2.GB',
cpus: 4,
memory: '4.GB',
time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_panelprep.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '2.GB',
cpus: 4,
memory: '4.GB',
time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_quilt.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '2.GB',
cpus: 4,
memory: '4.GB',
time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_sim.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '2.GB',
cpus: 4,
memory: '4.GB',
time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_stitch.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '2.GB',
cpus: 4,
memory: '4.GB',
time: '1.h'
]
}
Expand Down
4 changes: 2 additions & 2 deletions conf/test_validate.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

process {
resourceLimits = [
cpus: 2,
memory: '2.GB',
cpus: 4,
memory: '4.GB',
time: '1.h'
]
}
Expand Down
12 changes: 12 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,18 @@ The required flags for this mode are:
- `--remove_samples`: (optional) A comma-separated list of samples to remove from the reference during the normalization process.
- `--compute_freq`: (optional) Whether the frequency (AC/AN field) for each variants needs to be computed or not (true/false). This can be the case if the frequency is absent from the reference panel or if individuals have been removed.

The panel will be chunked using the `GLIMPSE_CHUNKS` process. The size of the chunks can be optimized according to your needs (e.g. cluster resources, specie chromosomes size, ...) using the following config. The 4mb size (default value) is empirically determined to be a good value in humans (i.e. enough parallelization but not too much).

```config title="panel.config"
withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:VCF_CHUNK_GLIMPSE:GLIMPSE_CHUNK' {
ext.args = "--window-size 4000000"
}

withName: 'NFCORE_PHASEIMPUTE:PHASEIMPUTE:VCF_CHUNK_GLIMPSE:GLIMPSE2_CHUNK' {
ext.args = "--window-mb 4"
}
```

You can find an overview of the results produced by this steps in the [Output](output.md).

## Start with imputation `--steps impute`
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/bam_impute_quilt/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ workflow BAM_IMPUTE_QUILT {
.map {
metaI, bam, bai, bamlist, metaPC, hap, legend, chr, start, end, ngen, buffer, gmap ->
[
metaI + [panel: metaPC.id, chr: metaPC.chr, chunk: start + "-" + end],
metaI + [panel: metaPC.id, chr: metaPC.chr, chunk: metaPC.chr + ":" + start + "-" + end],
bam, bai, bamlist, hap, legend, chr, start, end, ngen, buffer, gmap
]
}
Expand Down
19 changes: 19 additions & 0 deletions subworkflows/local/utils_nfcore_phaseimpute_pipeline/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,25 @@ workflow PIPELINE_INITIALISATION {
.collect()
.subscribe { log.info "The following contigs will be processed: ${it}" }

// Remove other contigs from panel and posfile files
ch_panel = ch_panel
.combine(ch_regions.collect{ it[0]["chr"]}.toList())
.filter { meta, _vcf, _index, chrs ->
meta.chr in chrs
}
.map {meta, vcf, index, _chrs ->
[meta, vcf, index]
}

ch_posfile = ch_posfile
.combine(ch_regions.collect{ it[0]["chr"]}.toList())
.filter { meta, _vcf, _index, _hap, _legend, chrs ->
meta.chr in chrs
}
.map {meta, vcf, index, hap, legend, _chrs ->
[meta, vcf, index, hap, legend]
}

// Check that all input files have the correct index
checkFileIndex(ch_input.mix(ch_input_truth, ch_ref_gen, ch_panel))

Expand Down
Loading
Loading