-
Notifications
You must be signed in to change notification settings - Fork 4
Support nanopore data structure v3 #328
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
Conversation
Steffengreiner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wow-such-code Nicely Done, I'll make some minor adjustments and merge and resolve the datastructure :)
| "drift_correction_log": { | ||
| "allOf": [ | ||
| { | ||
| "$ref": "#/definitions/file" | ||
| }, | ||
| { | ||
| "properties": { | ||
| "name": { | ||
| "pattern": "drift_correction_.*" | ||
| }, | ||
| "file_type": { | ||
| "pattern": "csv" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| "duty_time_log": { | ||
| "allOf": [ | ||
| { | ||
| "$ref": "#/definitions/file" | ||
| }, | ||
| { | ||
| "properties": { | ||
| "name": { | ||
| "pattern": "duty_time_.*" | ||
| }, | ||
| "file_type": { | ||
| "pattern": "csv" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "drift_correction_log": { | |
| "allOf": [ | |
| { | |
| "$ref": "#/definitions/file" | |
| }, | |
| { | |
| "properties": { | |
| "name": { | |
| "pattern": "drift_correction_.*" | |
| }, | |
| "file_type": { | |
| "pattern": "csv" | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "duty_time_log": { | |
| "allOf": [ | |
| { | |
| "$ref": "#/definitions/file" | |
| }, | |
| { | |
| "properties": { | |
| "name": { | |
| "pattern": "duty_time_.*" | |
| }, | |
| "file_type": { | |
| "pattern": "csv" | |
| } | |
| } | |
| } | |
| ] | |
| }, |
These two can be removed since they are not present in the new datastructure 👀
| "mux_scan_data_log": { | ||
| "allOf": [ | ||
| { | ||
| "$ref": "#/definitions/file" | ||
| }, | ||
| { | ||
| "properties": { | ||
| "name": { | ||
| "pattern": "mux_scan_data_.*" | ||
| }, | ||
| "file_type": { | ||
| "pattern": "csv" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "mux_scan_data_log": { | |
| "allOf": [ | |
| { | |
| "$ref": "#/definitions/file" | |
| }, | |
| { | |
| "properties": { | |
| "name": { | |
| "pattern": "mux_scan_data_.*" | |
| }, | |
| "file_type": { | |
| "pattern": "csv" | |
| } | |
| } | |
| } | |
| ] | |
| }, |
Also not present anymore in the new structure
| "name": "report_test.html", | ||
| "path": "./20200122_1217_1-A1-B1-PAE12345_1234567a/report_test.html", | ||
| "file_type": "pdf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "name": "report_test.html", | |
| "path": "./20200122_1217_1-A1-B1-PAE12345_1234567a/report_test.html", | |
| "file_type": "pdf" | |
| "name": "report_test.html", | |
| "path": "./20200122_1217_1-A1-B1-PAE12345_1234567a/report_test.html", | |
| "file_type": "html" |
| import life.qbic.datamodel.datasets.datastructure.files.DataFile | ||
|
|
||
| /** | ||
| * A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file | |
| * A specialisation of a DataFile, represents an Oxford Nanopore report HTML log file |
| import life.qbic.datamodel.datasets.datastructure.files.DataFile | ||
|
|
||
| /** | ||
| * A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file | |
| * A specialisation of a DataFile, represents an Oxford Nanopore report Json log file |
| /** | ||
| * A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file | ||
| * | ||
| * @author: Sven Fillinger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * @author: Sven Fillinger |
| /** | ||
| * A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file | ||
| * | ||
| * @author: Sven Fillinger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * @author: Sven Fillinger |
Steffengreiner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean it's good 👍
* increase snapshot to 2.20.0 * Adjust Nf-core pipeline result to account for sarekv3 file structure * Remove replacement of hyphens with underscores in project spaces (#326) * add digiwest property tpes * Support nanopore data structure v3 (#328) * add new version of valid nanopore structure * implement additional v3 changes * Update schema and test to current file structure Co-authored-by: Steffengreiner <[email protected]> * Fix Nanopore Schema V3 naming and streamline children of other report definition * Adapt schema and add test case for mibi datastructure Co-authored-by: wow-such-code <[email protected]>
* Prepare Version 2.20.0 (#325) * increase snapshot to 2.20.0 * Adjust Nf-core pipeline result to account for sarekv3 file structure * Remove replacement of hyphens with underscores in project spaces (#326) Co-authored-by: wow-such-code <[email protected]> * Update version to 2.20.0 (#327) * Set version to 2.20.0 * remove unnessary whitespace Co-authored-by: Steffengreiner <[email protected]> * Release/2.21.0 (#331) * increase snapshot to 2.20.0 * Adjust Nf-core pipeline result to account for sarekv3 file structure * Remove replacement of hyphens with underscores in project spaces (#326) * add digiwest property tpes * Support nanopore data structure v3 (#328) * add new version of valid nanopore structure * implement additional v3 changes * Update schema and test to current file structure Co-authored-by: Steffengreiner <[email protected]> * Fix Nanopore Schema V3 naming and streamline children of other report definition * Adapt schema and add test case for mibi datastructure Co-authored-by: wow-such-code <[email protected]> * Set version to 2.21.0 (#332) Co-authored-by: wow-such-code <[email protected]> Co-authored-by: Johnny Q5 <[email protected]>
Changes to handle ONT schema v3
Added:
Removed (from schema, not from model - backwards compatibility):