From 1f40f79b595a030dd2bba8a3f82890d93c98fdac Mon Sep 17 00:00:00 2001 From: wow-such-code Date: Fri, 7 Oct 2022 17:26:07 +0200 Subject: [PATCH 1/5] delete hidden files if and only if nanopore validation is successful --- .../groovy/life/qbic/utils/NanoporeParser.groovy | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/main/groovy/life/qbic/utils/NanoporeParser.groovy b/src/main/groovy/life/qbic/utils/NanoporeParser.groovy index 71751c2..1822269 100644 --- a/src/main/groovy/life/qbic/utils/NanoporeParser.groovy +++ b/src/main/groovy/life/qbic/utils/NanoporeParser.groovy @@ -18,8 +18,10 @@ import life.qbic.datamodel.datasets.OxfordNanoporeExperiment class NanoporeParser { + private static Set hiddenFiles = new HashSet<>() /** - * Generates a map representing the folder structure + * Generates a map representing the folder structure, if it is a correct structure + * Deletes any hidden files, if the structure fits one of the Nanopore models * @param directory path of directory whose fileTree should be converted into map */ static OxfordNanoporeExperiment parseFileStructure(Path directory) { @@ -35,6 +37,10 @@ class NanoporeParser { def finalMap = parseMetaData(convertedDirectory, directory) // Step5: Create the final OxfordNanoporeExperiment from the map OxfordNanoporeExperiment convertedExperiment = OxfordNanoporeExperiment.create(finalMap) + // Step6: This is a valid experiment, we can now delete the hidden files + for (File hiddenFile : hiddenFiles) { + hiddenFile.delete(); + } return convertedExperiment } catch (ValidationException validationException) { // we have to fetch all validation exceptions @@ -214,6 +220,8 @@ class NanoporeParser { /** * Convert a directory structure to a map, following the Nanopore schema. + * Ignores hidden files in the structure and adds them to a global set to be + * dealt with later. * @param a path to the current location in recursion * @return a map representing a directory with name, path and children as keys */ @@ -230,7 +238,11 @@ class NanoporeParser { }.collect { file -> if (file.isFile()) { - convertFile(file.toPath()) + if (file.isHidden()) { + hiddenFiles.add(file) + } else { + convertFile(file.toPath()) + } } else if (file.isDirectory()) { convertDirectory(file.toPath()) } From 61a9a5e0325b4f1d9bf7e3d3b1ee7e17f31b6b16 Mon Sep 17 00:00:00 2001 From: wow-such-code Date: Fri, 7 Oct 2022 18:27:43 +0200 Subject: [PATCH 2/5] more pain --- .../life/qbic/utils/NanoporeParser.groovy | 38 ++++++++++++++----- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/src/main/groovy/life/qbic/utils/NanoporeParser.groovy b/src/main/groovy/life/qbic/utils/NanoporeParser.groovy index 1822269..ca35833 100644 --- a/src/main/groovy/life/qbic/utils/NanoporeParser.groovy +++ b/src/main/groovy/life/qbic/utils/NanoporeParser.groovy @@ -16,6 +16,8 @@ import java.nio.file.Paths import java.text.ParseException import life.qbic.datamodel.datasets.OxfordNanoporeExperiment +import java.util.stream.Collectors + class NanoporeParser { private static Set hiddenFiles = new HashSet<>() @@ -39,7 +41,7 @@ class NanoporeParser { OxfordNanoporeExperiment convertedExperiment = OxfordNanoporeExperiment.create(finalMap) // Step6: This is a valid experiment, we can now delete the hidden files for (File hiddenFile : hiddenFiles) { - hiddenFile.delete(); + deleteFile(hiddenFile) } return convertedExperiment } catch (ValidationException validationException) { @@ -49,6 +51,15 @@ class NanoporeParser { } } + private static void deleteFile(File file) { + if(file.isDirectory()) { + for(File child : file.listFiles()) { + deleteFile(child) + } + } + file.delete() + } + /** * The main metadata we need to provide for the OxfordNanoporeExperiment is in * the report markdown file and final summary file. @@ -232,26 +243,33 @@ class NanoporeParser { if (IGNORED_FOLDERNAMES.contains(name)) { return null } - List children = currentDirectory.listFiles().findAll { file -> + List children = currentDirectory.listFiles() + + List visibleChildren = children.stream() + .filter(file -> !file.isHidden()).collect(Collectors.toList()); + + for (File file : children) { + if (!visibleChildren.contains(file)) { + hiddenFiles.add(file); + } + } + + visibleChildren = visibleChildren.findAll { file -> String currentFolderName = file.getName() return !IGNORED_FOLDERNAMES.contains(currentFolderName) }.collect { file -> - if (file.isFile()) { - if (file.isHidden()) { - hiddenFiles.add(file) - } else { + if (file.isFile()) { convertFile(file.toPath()) + } else if (file.isDirectory()) { + convertDirectory(file.toPath()) } - } else if (file.isDirectory()) { - convertDirectory(file.toPath()) - } } def convertedDirectory = [ "name" : name, "path" : path, - "children": children + "children": visibleChildren ] return convertedDirectory From 4db7e3ae1d20dec0e3e0e8bad21e1a0935a7f638 Mon Sep 17 00:00:00 2001 From: Steffengreiner Date: Wed, 12 Oct 2022 10:11:49 +0200 Subject: [PATCH 3/5] Adapt NanoporeParser to handle new data structure --- .../groovy/life/qbic/utils/NanoporeParser.groovy | 7 ++++++- .../life/qbic/utils/NanoporeParserSpec.groovy | 13 +++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/main/groovy/life/qbic/utils/NanoporeParser.groovy b/src/main/groovy/life/qbic/utils/NanoporeParser.groovy index ca35833..7a06610 100644 --- a/src/main/groovy/life/qbic/utils/NanoporeParser.groovy +++ b/src/main/groovy/life/qbic/utils/NanoporeParser.groovy @@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.ObjectMapper import groovy.json.JsonSlurper import life.qbic.datamodel.instruments.OxfordNanoporeInstrumentOutput import life.qbic.datamodel.instruments.OxfordNanoporeInstrumentOutputV2 +import life.qbic.datamodel.instruments.OxfordNanoporeInstrumentOutputV3 import org.everit.json.schema.Schema import org.everit.json.schema.ValidationException import org.everit.json.schema.loader.SchemaLoader @@ -180,7 +181,11 @@ class NanoporeParser { // Step 2: validate against schema return if valid, throw exception if invalid validateUsingSchema(OxfordNanoporeInstrumentOutput.getSchemaAsStream(), jsonObject) } catch (ValidationException validationException) { - validateUsingSchema(OxfordNanoporeInstrumentOutputV2.getSchemaAsStream(), jsonObject) + try { + validateUsingSchema(OxfordNanoporeInstrumentOutputV2.getSchemaAsStream(), jsonObject) + } catch (ValidationException validationExceptionV2) { + validateUsingSchema(OxfordNanoporeInstrumentOutputV3.getSchemaAsStream(), jsonObject) + } } } diff --git a/src/test/groovy/life/qbic/utils/NanoporeParserSpec.groovy b/src/test/groovy/life/qbic/utils/NanoporeParserSpec.groovy index 8476e0d..7dda3b2 100644 --- a/src/test/groovy/life/qbic/utils/NanoporeParserSpec.groovy +++ b/src/test/groovy/life/qbic/utils/NanoporeParserSpec.groovy @@ -38,6 +38,19 @@ class NanoporeParserSpec extends Specification { assert experiment.getMeasurements().get(0).getLibraryPreparationKit() == "SQK-LSK109-XL" } + def "parsing the newest valid file structure returns an OxfordNanoporeExperiment Object"() { + given: + def pathToDirectory = Paths.get(exampleDirectoriesRoot, "validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3") + when: + def experiment = NanoporeParser.parseFileStructure(pathToDirectory) + then: + assert experiment instanceof OxfordNanoporeExperiment + // Check that the metadata from the report file has been retrieved + assert experiment.getMeasurements().get(0).getMachineHost() == "PCT0094" + // Check that the metadata from the summary file has been retrieved + assert experiment.getMeasurements().get(0).getLibraryPreparationKit() == "SQK-LSK109-XL" + } + def "parsing the alternative valid file structure with metadata missing returns an OxfordNanoporeExperiment Object"() { given: def pathToDirectory = Paths.get(exampleDirectoriesRoot, "validates/QABCD001AB_E12A345a01_PAE12345_nanopore_new_minimal") From 749d6cd93b2ad047cc99a0f79f06060260c78180 Mon Sep 17 00:00:00 2001 From: Steffengreiner Date: Wed, 12 Oct 2022 15:08:10 +0200 Subject: [PATCH 4/5] Add tests for mibi data model --- .../life/qbic/utils/NanoporeParserSpec.groovy | 13 +++++ .../drift_correction_.csv | 0 .../duty_time_.csv | 0 .../fast5_fail/myfile.fast5 | 1 + .../fast5_fail/myfile2.fast5 | 1 + .../fast5_fail/myfile3.fast5 | 1 + .../fast5_fail/myfile4.fast5 | 1 + .../fast5_fail/myfile5.fast5 | 1 + .../fast5_pass/myfile.fast5 | 1 + .../fast5_pass/myfile2.fast5 | 1 + .../fast5_pass/myfile3.fast5 | 1 + .../fast5_pass/myfile4.fast5 | 1 + .../fast5_pass/myfile5.fast5 | 1 + .../fastq_fail/myfile.fastq.gz | 1 + .../fastq_fail/myfile2.fastq.gz | 1 + .../fastq_fail/myfile3.fastq.gz | 1 + .../fastq_fail/myfile4.fastq.gz | 1 + .../fastq_fail/myfile5.fastq.gz | 1 + .../fastq_pass/myfile1.fastq.gz | 0 .../fastq_pass/myfile2.fastq.gz | 0 .../fastq_pass/myfile3.fastq.gz | 0 .../fastq_pass/myfile4.fastq.gz | 0 .../fastq_pass/myfile5.fastq.gz | 0 .../final_summary_.txt | 17 ++++++ .../mux_scan_data_.csv | 0 .../report_.html | 0 .../report_.md | 52 +++++++++++++++++++ .../sequencing_summary_.txt | 0 .../throughput_.csv | 0 .../barcode_alignment_.tsv | 0 .../fast5_fail/myfile.fast5 | 1 + .../fast5_fail/myfile2.fast5 | 1 + .../fast5_fail/myfile3.fast5 | 1 + .../fast5_fail/myfile4.fast5 | 1 + .../fast5_fail/myfile5.fast5 | 1 + .../fast5_pass/myfile.fast5 | 1 + .../fast5_pass/myfile2.fast5 | 1 + .../fast5_pass/myfile3.fast5 | 1 + .../fast5_pass/myfile4.fast5 | 1 + .../fast5_pass/myfile5.fast5 | 1 + .../fastq_fail/myfile.fastq.gz | 1 + .../fastq_fail/myfile2.fastq.gz | 1 + .../fastq_fail/myfile3.fastq.gz | 1 + .../fastq_fail/myfile4.fastq.gz | 1 + .../fastq_fail/myfile5.fastq.gz | 1 + .../fastq_pass/myfile1.fastq.gz | 0 .../fastq_pass/myfile2.fastq.gz | 0 .../fastq_pass/myfile3.fastq.gz | 0 .../fastq_pass/myfile4.fastq.gz | 0 .../fastq_pass/myfile5.fastq.gz | 0 .../final_summary_.txt | 17 ++++++ .../other_reports/pore_scan_data_.csv | 0 .../pore_activity_.csv | 0 .../report_.html | 0 .../report_.json | 0 .../report_.md | 52 +++++++++++++++++++ .../sample_sheet_.csv | 0 .../sequencing_summary_.txt | 0 .../throughput_.csv | 0 59 files changed, 181 insertions(+) create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/drift_correction_.csv create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/duty_time_.csv create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile2.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile3.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile4.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile5.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile2.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile3.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile4.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile5.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile2.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile3.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile4.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile5.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile1.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile2.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile3.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile4.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile5.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/final_summary_.txt create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/mux_scan_data_.csv create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.html create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.md create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/sequencing_summary_.txt create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/throughput_.csv create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/barcode_alignment_.tsv create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile2.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile3.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile4.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile5.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile2.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile3.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile4.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile5.fast5 create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile2.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile3.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile4.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile5.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile1.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile2.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile3.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile4.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile5.fastq.gz create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/final_summary_.txt create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/other_reports/pore_scan_data_.csv create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/pore_activity_.csv create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.html create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.json create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.md create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/sample_sheet_.csv create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/sequencing_summary_.txt create mode 100644 src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/throughput_.csv diff --git a/src/test/groovy/life/qbic/utils/NanoporeParserSpec.groovy b/src/test/groovy/life/qbic/utils/NanoporeParserSpec.groovy index 7dda3b2..4c9f332 100644 --- a/src/test/groovy/life/qbic/utils/NanoporeParserSpec.groovy +++ b/src/test/groovy/life/qbic/utils/NanoporeParserSpec.groovy @@ -25,6 +25,19 @@ class NanoporeParserSpec extends Specification { assert experiment.getMeasurements().get(0).getLibraryPreparationKit() == "SQK-LSK109" } + def "parsing a valid file structure with an html report returns an OxfordNanoporeExperiment Object"() { + given: + def pathToDirectory = Paths.get(exampleDirectoriesRoot, "validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report") + when: + def experiment = NanoporeParser.parseFileStructure(pathToDirectory) + then: + assert experiment instanceof OxfordNanoporeExperiment + // Check that the metadata from the report file has been retrieved + assert experiment.getMeasurements().get(0).getMachineHost() == "PCT0094" + // Check that the metadata from the summary file has been retrieved + assert experiment.getMeasurements().get(0).getLibraryPreparationKit() == "SQK-LSK109" + } + def "parsing the alternative valid file structure returns an OxfordNanoporeExperiment Object"() { given: def pathToDirectory = Paths.get(exampleDirectoriesRoot, "validates/QABCD001AB_E12A345a01_PAE12345_nanopore_new") diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/drift_correction_.csv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/drift_correction_.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/duty_time_.csv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/duty_time_.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile2.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile2.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile2.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile3.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile3.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile3.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile4.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile4.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile4.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile5.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile5.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile5.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile2.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile2.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile2.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile3.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile3.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile3.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile4.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile4.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile4.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile5.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile5.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile5.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile2.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile2.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile2.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile3.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile3.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile3.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile4.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile4.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile4.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile5.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile5.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile5.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile1.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile1.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile2.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile2.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile3.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile3.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile4.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile4.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile5.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile5.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/final_summary_.txt b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/final_summary_.txt new file mode 100644 index 0000000..3b388d5 --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/final_summary_.txt @@ -0,0 +1,17 @@ +instrument=PCT0094 +position=1-A3-D3 +flow_cell_id=PAE24142 +sample_id=QNANO027AE_E19D023a01_200211 +protocol_group_id=20200211_QNANO +protocol=sequencing/sequencing_PRO002_DNA:FLO-PRO002:SQK-LSK109:True +protocol_run_id=5a7cfc2a-81b0-412d-baa0-51b939cd8e76 +acquisition_run_id=c6028297dff19d01e7c5fba6487de807d1e99c05 +started=2020-02-11T15:52:10.465982+01:00 +acquisition_stopped=2020-02-14T08:39:54.688916+01:00 +processing_stopped=2020-02-14T08:39:58.804639+01:00 +basecalling_enabled=1 +sequencing_summary_file=sequencing_summary_PAE24142_c6028297.txt +fast5_files_in_final_dest=2189 +fast5_files_in_fallback=0 +fastq_files_in_final_dest=2189 +fastq_files_in_fallback=0 \ No newline at end of file diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/mux_scan_data_.csv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/mux_scan_data_.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.html b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.html new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.md b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.md new file mode 100644 index 0000000..586d532 --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.md @@ -0,0 +1,52 @@ +Tracking ID +=========== + +{ + "asic_id": "0004A30B0022C63E", + "asic_id_eeprom": "0004A30B0022C63E", + "asic_temp": "32.631687", + "asic_version": "Unknown", + "auto_update": "0", + "auto_update_source": "https://mirror.oxfordnanoportal.com/software/MinKNOW/", + "bream_is_standard": "0", + "configuration_version": "1.0.7", + "device_id": "1-E9-H9", + "device_type": "promethion", + "distribution_status": "stable", + "distribution_version": "19.12.5", + "exp_script_name": "N/A", + "exp_script_purpose": "sequencing_run", + "exp_start_time": "2020-01-28T15:17:38Z", + "flow_cell_id": "PAE26989", + "flow_cell_product_code": "FLO-PRO002", + "guppy_version": "3.2.8+bd67289", + "heatsink_temp": "36.179111", + "hostname": "PCT0094", + "hublett_board_id": "0132136faade2e15", + "hublett_firmware_version": "2.0.12", + "installation_type": "nc", + "ip_address": "", + "local_firmware_file": "1", + "mac_address": "", + "operating_system": "ubuntu 16.04", + "protocol_group_id": "20200128_QNANO", + "protocol_run_id": "", + "protocols_version": "4.3.16", + "run_id": "db9e9383d44d80bbe1e2600c7a7419056610d46d", + "sample_id": "QNANO036AD_E19D023b04", + "satellite_board_id": "0000000000000000", + "satellite_firmware_version": "2.0.12", + "usb_config": "firm_1.2.3_ware#rbt_4.5.6_rbt#ctrl#USB3", + "version": "3.6.1" +} + +Duty Time +========= + +ID: db9e9383d44d80bbe1e2600c7a7419056610d46d + +Channel State,Experiment Time (minutes),State Time (samples), +strand,0,144832342 +strand,1,158421270 +strand,2,378095352 +strand,3,472685319 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/sequencing_summary_.txt b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/sequencing_summary_.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/throughput_.csv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_html_report/20200122_1217_1-A1-B1-PAE12345_1234567a/throughput_.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/barcode_alignment_.tsv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/barcode_alignment_.tsv new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile2.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile2.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile2.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile3.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile3.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile3.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile4.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile4.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile4.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile5.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile5.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_fail/myfile5.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile2.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile2.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile2.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile3.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile3.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile3.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile4.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile4.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile4.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile5.fast5 b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile5.fast5 new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fast5_pass/myfile5.fast5 @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile2.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile2.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile2.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile3.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile3.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile3.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile4.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile4.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile4.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile5.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile5.fastq.gz new file mode 100644 index 0000000..a46c98a --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_fail/myfile5.fastq.gz @@ -0,0 +1 @@ +This is some text diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile1.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile1.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile2.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile2.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile3.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile3.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile4.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile4.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile5.fastq.gz b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/fastq_pass/myfile5.fastq.gz new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/final_summary_.txt b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/final_summary_.txt new file mode 100644 index 0000000..900f4d7 --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/final_summary_.txt @@ -0,0 +1,17 @@ +instrument=PCT0094 +position=1-A3-D3 +flow_cell_id=PAE24142 +sample_id=QNANO027AE_E19D023a01_200211 +protocol_group_id=20200211_QNANO +protocol=sequencing/sequencing_PRO002_DNA:FLO-PRO002:SQK-LSK109-XL +protocol_run_id=5a7cfc2a-81b0-412d-baa0-51b939cd8e76 +acquisition_run_id=c6028297dff19d01e7c5fba6487de807d1e99c05 +started=2020-02-11T15:52:10.465982+01:00 +acquisition_stopped=2020-02-14T08:39:54.688916+01:00 +processing_stopped=2020-02-14T08:39:58.804639+01:00 +basecalling_enabled=1 +sequencing_summary_file=sequencing_summary_PAE24142_c6028297.txt +fast5_files_in_final_dest=2189 +fast5_files_in_fallback=0 +fastq_files_in_final_dest=2189 +fastq_files_in_fallback=0 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/other_reports/pore_scan_data_.csv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/other_reports/pore_scan_data_.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/pore_activity_.csv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/pore_activity_.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.html b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.html new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.json b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.json new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.md b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.md new file mode 100644 index 0000000..586d532 --- /dev/null +++ b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/report_.md @@ -0,0 +1,52 @@ +Tracking ID +=========== + +{ + "asic_id": "0004A30B0022C63E", + "asic_id_eeprom": "0004A30B0022C63E", + "asic_temp": "32.631687", + "asic_version": "Unknown", + "auto_update": "0", + "auto_update_source": "https://mirror.oxfordnanoportal.com/software/MinKNOW/", + "bream_is_standard": "0", + "configuration_version": "1.0.7", + "device_id": "1-E9-H9", + "device_type": "promethion", + "distribution_status": "stable", + "distribution_version": "19.12.5", + "exp_script_name": "N/A", + "exp_script_purpose": "sequencing_run", + "exp_start_time": "2020-01-28T15:17:38Z", + "flow_cell_id": "PAE26989", + "flow_cell_product_code": "FLO-PRO002", + "guppy_version": "3.2.8+bd67289", + "heatsink_temp": "36.179111", + "hostname": "PCT0094", + "hublett_board_id": "0132136faade2e15", + "hublett_firmware_version": "2.0.12", + "installation_type": "nc", + "ip_address": "", + "local_firmware_file": "1", + "mac_address": "", + "operating_system": "ubuntu 16.04", + "protocol_group_id": "20200128_QNANO", + "protocol_run_id": "", + "protocols_version": "4.3.16", + "run_id": "db9e9383d44d80bbe1e2600c7a7419056610d46d", + "sample_id": "QNANO036AD_E19D023b04", + "satellite_board_id": "0000000000000000", + "satellite_firmware_version": "2.0.12", + "usb_config": "firm_1.2.3_ware#rbt_4.5.6_rbt#ctrl#USB3", + "version": "3.6.1" +} + +Duty Time +========= + +ID: db9e9383d44d80bbe1e2600c7a7419056610d46d + +Channel State,Experiment Time (minutes),State Time (samples), +strand,0,144832342 +strand,1,158421270 +strand,2,378095352 +strand,3,472685319 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/sample_sheet_.csv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/sample_sheet_.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/sequencing_summary_.txt b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/sequencing_summary_.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/throughput_.csv b/src/test/resources/dummyFileSystem/nanopore-instrument-output/validates/QABCD001AB_E12A345a01_PAE12345_nanopore_v3/20200122_1217_1-A1-B1-PAE12345_1234567a/throughput_.csv new file mode 100644 index 0000000..e69de29 From 842261b89da0a3a1c2e38b7094865075746c729c Mon Sep 17 00:00:00 2001 From: Steffengreiner Date: Thu, 13 Oct 2022 13:11:52 +0200 Subject: [PATCH 5/5] Update data-model-lib to 2.21.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e732488..b8b6290 100644 --- a/pom.xml +++ b/pom.xml @@ -128,7 +128,7 @@ data-model-lib life.qbic - 2.20.0 + 2.21.0 org.mockito