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

Reference panel accepts a csv #19

Merged
merged 14 commits into from
Mar 21, 2024
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Initial release of nf-core/phaseimpute, created with the [nf-core](https://nf-co

- [#15](https://github.com/nf-core/phaseimpute/pull/15) - Changed test csv files to point to nf-core repository
- [#16](https://github.com/nf-core/phaseimpute/pull/16) - Removed outdir from test config files
- [#19](https://github.com/nf-core/phaseimpute/pull/19) - Changed reference panel to accept a csv, update modules and subworkflows (glimpse1/2 and shapeit5)

### `Fixed`

Expand Down
8 changes: 4 additions & 4 deletions assets/schema_input_panel.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
},
"vcf": {
"type": "string",
"pattern": "^\\S+\\.vcf$",
"pattern": "^\\S+\\.(vcf|bcf)(\\.gz)?$",
"errorMessage": "Panel vcf file must be provided, cannot contain spaces and must have extension '.vcf'"
},
"index": {
"type": "string",
"pattern": "^\\S+\\.vcf\\.(tbi|csi)$",
"pattern": "^\\S+\\.(vcf|bcf)(\\.gz)?\\.(tbi|csi)$",
"errorMessage": "Panel vcf index file must be provided, cannot contain spaces and must have extension '.vcf.tbi' or '.vcf.csi'"
},
"sites": {
"type": "string",
"pattern": "^\\S+\\.sites$",
"pattern": "^\\S+\\.sites(\\.bcf)?$",
"errorMessage": "Panel sites file must be provided, cannot contain spaces and must have extension '.sites'"
},
"tsv": {
"type": "string",
"pattern": "^\\S+\\.tsv$",
"pattern": "^\\S+\\.tsv(\\.gz)?$",
"errorMessage": "Panel tsv file must be provided, cannot contain spaces and must have extension '.tsv'"
},
"legend": {
Expand Down
2 changes: 1 addition & 1 deletion conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ params {

// Genome references
fasta = "https://raw.githubusercontent.com/nf-core/test-datasets/phaseimpute/data/reference_genome/21_22/hs38DH.chr21_22.fa"
panel = "https://raw.githubusercontent.com/nf-core/test-datasets/phaseimpute/data/panel/21_22/1000GP.chr21_22.s.norel.bcf"
panel = "${projectDir}/tests/csv/panel.csv"
phased = true

// Impute parameters
Expand Down
16 changes: 8 additions & 8 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
},
"glimpse/chunk": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"git_sha": "7e56daae390ff896b292ddc70823447683a79936",
"installed_by": ["vcf_impute_glimpse"]
},
"glimpse/ligate": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"git_sha": "7e56daae390ff896b292ddc70823447683a79936",
"installed_by": ["vcf_impute_glimpse"]
},
"glimpse/phase": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"git_sha": "7e56daae390ff896b292ddc70823447683a79936",
"installed_by": ["vcf_impute_glimpse"]
},
"glimpse2/chunk": {
Expand All @@ -70,7 +70,7 @@
},
"glimpse2/ligate": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"git_sha": "ee7fee68281944b002bd27a8ff3f19200b4d3fad",
"installed_by": ["multiple_impute_glimpse2"]
},
"glimpse2/phase": {
Expand Down Expand Up @@ -112,7 +112,7 @@
},
"shapeit5/ligate": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"git_sha": "dcf17cc0ed8fd5ea57e61a13e0147cddb5c1ee30",
"installed_by": ["vcf_phase_shapeit5"]
},
"shapeit5/phasecommon": {
Expand All @@ -136,7 +136,7 @@
"nf-core": {
"multiple_impute_glimpse2": {
"branch": "master",
"git_sha": "dedc0e31087f3306101c38835d051bf49789445a",
"git_sha": "cfd937a668919d948f6fcbf4218e79de50c2f36f",
"installed_by": ["subworkflows"]
},
"utils_nextflow_pipeline": {
Expand All @@ -156,12 +156,12 @@
},
"vcf_impute_glimpse": {
"branch": "master",
"git_sha": "8dab3bf2aaa912730419080e96d2a7d98911db48",
"git_sha": "7e56daae390ff896b292ddc70823447683a79936",
"installed_by": ["subworkflows"]
},
"vcf_phase_shapeit5": {
"branch": "master",
"git_sha": "dedc0e31087f3306101c38835d051bf49789445a",
"git_sha": "dcf17cc0ed8fd5ea57e61a13e0147cddb5c1ee30",
"installed_by": ["subworkflows"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/glimpse/chunk/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/glimpse/ligate/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 12 additions & 9 deletions modules/nf-core/glimpse/ligate/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modules/nf-core/glimpse/phase/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/glimpse/phase/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions modules/nf-core/glimpse/phase/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/glimpse2/ligate/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions modules/nf-core/glimpse2/ligate/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions modules/nf-core/glimpse2/ligate/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions modules/nf-core/glimpse2/ligate/tests/tags.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modules/nf-core/shapeit5/ligate/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading