Skip to content

Commit 640c30c

Browse files
committed
Rename to CLASSIFY_MTDNA_HAPLOGROUP
1 parent be98727 commit 640c30c

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

conf/modules.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ process {
18631863

18641864
// This should not be here. We should pass it in as an argument to the subworkflow, but I'm
18651865
// still figuring out how to do that.
1866-
withName: 'NFCORE_EAGER:EAGER:HAPLOTYPE_HUMAN_MTDNA:HAPLOGREP3_CLASSIFY' {
1866+
withName: 'NFCORE_EAGER:EAGER:CLASSIFY_MTDNA_HAPLOGROUP:HAPLOGREP3_CLASSIFY' {
18671867
ext.args = '--tree phylotree-fu-rcrs@1.2'
18681868
}
18691869
}

docs/development/manual_tests.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,8 @@ nextflow run main.nf -profile test,docker --outdir ./results -w work/ --convert_
11361136
11371137
### MTDNA HAPLOGROUP CLASSIFICATION
11381138
1139+
#### ALAINA TODO: ADD SOMETHING HERE
1140+
11391141
```bash
11401142
#### MTDNA HAPLOGROUP CLASSIFICATION with default settings
11411143
## Expect: Directory created 'mtdna_haplogroup/<reference>/<sample_id>' containing a .txt file for each sample with haplogroup assignments
@@ -1146,10 +1148,4 @@ nextflow run main.nf -profile docker,test --outdir ./results/mtdna_haplogroup_te
11461148
## Expect: Directory created 'mtdna_haplogroup/<reference>/<sample_id>' containing a .txt file for each sample with haplogroup assignments
11471149
## Expect: The haplogroup assignment may differ based on the classification settings
11481150
nextflow run main.nf -profile docker,test --outdir ./results/mtdna_haplogroup_test_args --run_mtdna_haplogroup --haplogrep_args '--extend-report' -resume
1149-
1150-
#### MTDNA HAPLOGROUP CLASSIFICATION with custom VCF input
1151-
## Use as input a version of the TSV that contains mitochondrial VCF files
1152-
## Expect: Directory created 'mtdna_haplogroup/<reference>/<sample_id>' containing a .txt file for each sample with haplogroup assignments
1153-
## Expect: The haplogroup assignment should reflect the variants in the input VCF files
1154-
nextflow run main.nf -profile docker,test --input ~/eager_dsl2_testing/input/mtdna/mtdna_vcf_samples.tsv --outdir ./results/mtdna_haplogroup_vcf_test --run_mtdna_haplogroup -resume
11551151
```

subworkflows/local/haplotype_human_mtdna.nf renamed to subworkflows/local/classify_mtdna_haplogroup.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
include { addNewMetaFromAttributes } from '../../subworkflows/local/utils_nfcore_eager_pipeline/main'
88
include { HAPLOGREP3_CLASSIFY } from '../../modules/nf-core/haplogrep3/classify/main'
99

10-
workflow HAPLOTYPE_HUMAN_MTDNA {
10+
workflow CLASSIFY_MTDNA_HAPLOGROUP {
1111

1212
take:
1313
ch_mtdna_vcf

workflows/eager.nf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ include { METAGENOMICS } from '../subwork
3232
include { ESTIMATE_CONTAMINATION } from '../subworkflows/local/estimate_contamination'
3333
include { CALCULATE_DAMAGE } from '../subworkflows/local/calculate_damage'
3434
include { RUN_SEXDETERRMINE } from '../subworkflows/local/run_sex_determination'
35-
include { HAPLOTYPE_HUMAN_MTDNA } from '../subworkflows/local/haplotype_human_mtdna'
35+
include { CLASSIFY_MTDNA_HAPLOGROUP } from '../subworkflows/local/classify_mtdna_haplogroup'
3636
include { MERGE_LIBRARIES } from '../subworkflows/local/merge_libraries'
3737
include { MERGE_LIBRARIES as MERGE_LIBRARIES_GENOTYPING } from '../subworkflows/local/merge_libraries'
3838
include { GENOTYPE } from '../subworkflows/local/genotype'
@@ -586,8 +586,8 @@ workflow EAGER {
586586
[ meta, vcf ]
587587
}
588588

589-
HAPLOTYPE_HUMAN_MTDNA(ch_mtdna_haplogroup_input)
590-
ch_versions = ch_versions.mix(HAPLOTYPE_HUMAN_MTDNA.out.versions)
589+
CLASSIFY_MTDNA_HAPLOGROUP(ch_mtdna_haplogroup_input)
590+
ch_versions = ch_versions.mix(CLASSIFY_MTDNA_HAPLOGROUP.out.versions)
591591
}
592592

593593
//

0 commit comments

Comments
 (0)