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

update all modules + fix schema_input #1695

Merged
merged 11 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ jobs:
- tags: "strelka/germline"
- tags: "strelka/somatic"
- tags: "subworkflows/utils_nfvalidation_plugin"
- tags: "svdb/merge"
- tags: "tabix/bgziptabix"
- tags: "tabix/tabix"
- tags: "tiddit/sv"
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [1677](https://github.com/nf-core/sarek/pull/1677) - Migrate pytest aligner and pipeline default tests to nf-test
- [1680](https://github.com/nf-core/sarek/pull/1680) - Template update for nf-core/tools v3.0.0
- [1681](https://github.com/nf-core/sarek/pull/1681) - Template update for nf-core/tools v3.0.1
- [1686](https://github.com/nf-core/sarek/pull/1686) - Template update for nf-core/tools v3.0.2
- [1692](https://github.com/nf-core/sarek/pull/1692) - Update ensemblvep
- [1695](https://github.com/nf-core/sarek/pull/1695) - Update all modules

### Fixed

Expand All @@ -30,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [1673](https://github.com/nf-core/sarek/pull/1673) - Print warning message instead of silent error with Nextflow versions prior to 24.08.0edge
- [1693](https://github.com/nf-core/sarek/pull/1693) - Fixes flowcell retrieval during samplesheet parsing
- [1694](https://github.com/nf-core/sarek/pull/1694) - Fix manifest DOI display on CLI
- [1695](https://github.com/nf-core/sarek/pull/1695) - Fix and update input_schema.json

### Removed

Expand All @@ -39,13 +42,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

| Dependency | Old version | New version |
| ------------- | ----------- | ----------- |
| `coreutils` | 8.30 | 9.5 |
| `deepvariant` | 1.5.0 | 1.6.1 |
| `ensemblvep` | 111.0 | 113.0 |
| `fgbio` | 2.0.2 | 2.1.2 |
| `htslib` | 1.20 | 1.21 |
| `lofreq` | | 2.1.5 |
| `multiqc` | 1.21 | 1.25.1 |
| `samtools` | 1.20 | 1.21 |
| `sentieon` | 202308.02 | 202308.03 |
| `svdb` | 2.8.1 | 2.8.2 |

### Parameters

Expand Down
160 changes: 35 additions & 125 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,14 @@
"errorMessage": "Sex cannot contain spaces",
"meta": ["sex"],
"default": "NA",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+$"
},
{
"type": "string",
"maxLength": 0
}
]
"type": "string",
"pattern": "^\\S+$"
},
"status": {
"type": "integer",
"errorMessage": "Status can only be 0 (normal) or 1 (tumor). Defaults to 0, if none is supplied.",
"meta": ["status"],
"default": "0",
"default": 0,
"minimum": 0,
"maximum": 1
},
Expand All @@ -48,183 +40,101 @@
"meta": ["lane"]
},
"fastq_1": {
"errorMessage": "Gzipped FastQ file for reads 1 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz$"
},
{
"type": "string",
"maxLength": 0
}
],
"errorMessage": "FastQ file for reads 1 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'",
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"format": "file-path",
"exists": true
},
"fastq_2": {
"errorMessage": "Gzipped FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz$"
},
{
"type": "string",
"maxLength": 0
}
],
"errorMessage": "FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'",
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"format": "file-path",
"exists": true
},
"spring_1": {
"errorMessage": "Gzipped and spring-compressed FastQ file for reads 1 cannot contain spaces and must have extension '.fq.gz.spring' or '.fastq.gz.spring'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz.spring$"
},
{
"type": "string",
"maxLength": 0
}
],
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz.spring$",
"format": "file-path",
"exists": true
},
"spring_2": {
"errorMessage": "Gzipped and spring-compressed FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz.spring' or '.fastq.gz.spring'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz.spring$"
},
{
"type": "string",
"maxLength": 0
}
],
"type": "string",
"pattern": "^\\S+\\.f(ast)?q\\.gz.spring$",
"format": "file-path",
"exists": true
},
"table": {
"errorMessage": "Recalibration table cannot contain spaces and must have extension '.table'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.table$"
},
{
"type": "string",
"maxLength": 0
}
],
"type": "string",
"pattern": "^\\S+\\.table$",
"format": "file-path",
"exists": true
},
"cram": {
"errorMessage": "CRAM file cannot contain spaces and must have extension '.cram'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.cram$"
},
{
"type": "string",
"maxLength": 0
}
],
"type": "string",
"pattern": "^\\S+\\.cram$",
"format": "file-path",
"exists": true
},
"crai": {
"errorMessage": "CRAM index file cannot contain spaces and must have extension '.crai'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.crai$"
},
{
"type": "string",
"maxLength": 0
}
],
"type": "string",
"pattern": "^\\S+\\.crai$",
"format": "file-path",
"exists": true
},
"bam": {
"errorMessage": "BAM file cannot contain spaces and must have extension '.bam'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.bam$"
},
{
"type": "string",
"maxLength": 0
}
],
"type": "string",
"pattern": "^\\S+\\.bam$",
"format": "file-path",
"exists": true
},
"bai": {
"errorMessage": "BAM index file cannot contain spaces and must have extension '.bai'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.bai$"
},
{
"type": "string",
"maxLength": 0
}
],
"type": "string",
"pattern": "^\\S+\\.bai$",
"format": "file-path",
"exists": true
},
"vcf": {
"errorMessage": "VCF file for reads 1 cannot contain spaces and must have extension '.vcf' or '.vcf.gz'",
"anyOf": [
{
"type": "string",
"pattern": "^\\S+\\.vcf(\\.gz)?$"
},
{
"type": "string",
"maxLength": 0
}
],
"type": "string",
"pattern": "^\\S+\\.vcf(\\.gz)?$",
"format": "file-path",
"exists": true
},
"variantcaller": {
"type": "string"
}
},
"required": ["patient", "sample"],
"uniqueEntries": ["patient", "sample"],
"anyOf": [
{
"dependentRequired": {
"fastq_2": ["fastq_1"],
"spring_2": ["spring_1"],
"lane": ["bam"]
"lane": ["fastq_1"]
}
},
{
"dependentRequired": {
"fastq_2": ["fastq_1"],
"spring_2": ["spring_1"],
"lane": ["fastq_1"]
"lane": ["spring_1"]
}
},
{
"dependentRequired": {
"fastq_2": ["fastq_1"],
"spring_2": ["spring_1"],
"lane": ["spring_1"]
"lane": ["bam"]
}
}
]
],
"dependentRequired": {
"fastq_2": ["fastq_1"],
"spring_2": ["spring_1"]
},
"required": ["patient", "sample"],
"uniqueEntries": ["lane", "patient", "sample"]
}
}
Loading
Loading