Skip to content

Commit a9a6299

Browse files
authored
Merge pull request #421 from sanger-tol/schema_update
changed assem_id type
2 parents df00b5c + d7a21d3 commit a9a6299

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

assets/local_testing/nxOscSUBSET.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ hic_data:
1919
kmer_profile:
2020
# kmer_length will act as input for kmer_read_cov fastk and as the name of folder in profile_dir
2121
kmer_length: 31
22-
dir: /lustre/scratch123/tol/resources/treeval/treeval-testdata/TreeValSmallData/genomic_data/nxOscSpes1/pacbio/
22+
profile: /lustre/scratch123/tol/resources/treeval/treeval-testdata/TreeValSmallData/genomic_data/nxOscSpes1/pacbio/
2323
alignment:
2424
genesets:
2525
- /lustre/scratch123/tol/resources/treeval/treeval-testdata/TreeValSmallData/gene_set/nematode/csv_data/CaenorhabditisElegans.WBcel235-data.csv

assets/schema_input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"errorMessage": "Assembly level must be provided"
1414
},
1515
"assem_version": {
16-
"type": "integer",
16+
"anyOf": [{ "type": "string" }, { "type": "integer" }],
1717
"errorMessage": "Assembly version must be provided"
1818
},
1919
"sample_id": {

subworkflows/local/yaml_input/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ workflow YAML_INPUT {
5555
data.assem_reads.supplementary_data,
5656
)
5757
genesets: (id == "FULL" || id == "JBROWSE" ? data.alignment.genesets.collect { geneset_path -> file(geneset_path, checkIfExists: true) } : [])
58-
synteny: (data.synteny ? data.synteny.collect { fasta -> file(fasta, checkIfExists: true) } : [])
58+
synteny: (id == "FULL" || id == "JBROWSE" ? (data.synteny ? data.synteny.collect { fasta -> file(fasta, checkIfExists: true) } : []) : [])
5959
intron_size: (id == "FULL" ? data.intron.size : "")
6060
teloseq: data.telomere.teloseq
6161
busco_lineage: data.busco.lineage

0 commit comments

Comments
 (0)