Skip to content

Commit

Permalink
Remove merging of individuals for now and add it to road map
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisLeNezet committed Apr 23, 2024
1 parent 870c63e commit 9d21a5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 2 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- [] Check if panel is necessary depending on the tool selected
- [x] Set modules configuration as full path workflow:subworkflow:module
- [] Where should the map file go (separate csv or in panel csv)
- [] Add support for imputation by individuals or by groups of individuals

## Run tests

Expand All @@ -25,6 +26,7 @@ nextflow run main.nf -profile singularity,test --outdir results -resume
nextflow run main.nf -profile singularity,test_sim --outdir results -resume
nextflow run main.nf -profile singularity,test_validate --outdir results -resume
nextflow run main.nf -profile singularity,test_all --outdir results -resume
nextflow run main.nf -profile singularity,test_quilt --outdir results -resume
```

## Problematic
Expand Down
7 changes: 1 addition & 6 deletions workflows/phaseimpute/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,8 @@ workflow PHASEIMPUTE {
// Create chunks from reference VCF
MAKE_CHUNKS(ch_panel, ch_fasta)

// Create input QUILT
ch_input_quilt = ch_input_impute
.map { meta, bam, bai -> [["id": "all_samples"] + meta.subMap("chr", "region"), bam, bai] }
.groupTuple ()

// Impute BAMs with QUILT
IMPUTE_QUILT(MAKE_CHUNKS.out.ch_hap_legend, ch_input_quilt, MAKE_CHUNKS.out.ch_chunks)
IMPUTE_QUILT(MAKE_CHUNKS.out.ch_hap_legend, ch_input_impute, MAKE_CHUNKS.out.ch_chunks)
ch_versions = ch_versions.mix(IMPUTE_QUILT.out.versions)

// Add to output channel
Expand Down

0 comments on commit 9d21a5d

Please sign in to comment.