Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/nf-core/seqinspector into a…
Browse files Browse the repository at this point in the history
…dd-modules
  • Loading branch information
kedhammar committed Mar 22, 2024
2 parents e39be60 + d169eef commit b883059
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"rundir": {
"type": "string",
"format": "directory-path",
"format": "path",
"exists": true,
"errorMessage": "Run directory must be a path",
"meta": ["rundir"]
Expand Down
2 changes: 1 addition & 1 deletion conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ params {
// Input data
// TODO nf-core: Specify the paths to your test data on nf-core/test-datasets
// TODO nf-core: Give any required params for the test so that command line flags are not needed
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv'
input = 'https://raw.githubusercontent.com/KarNair/test-datasets/seqinspector/testdata/MiSeq/samplesheet.csv'

// Genome references
genome = 'R64-1-1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ workflow PIPELINE_INITIALISATION {
.fromSamplesheet("input") // Validates samplesheet against $projectDir/assets/schema_input.json. Path to validation schema is defined by $projectDir/nextflow_schema.json
.map {
meta, fastq_1, fastq_2 ->
def id_string = "${meta.sample}_${meta.group ?: "ungrouped"}_${meta.lane}"
def id_string = "${meta.sample}_${meta.project ?: "ungrouped"}_${meta.lane}"
def updated_meta = meta + [ id: id_string ]
if (!fastq_2) {
return [ updated_meta.id, updated_meta + [ single_end:true ], [ fastq_1 ] ]
Expand Down

0 comments on commit b883059

Please sign in to comment.