-
Notifications
You must be signed in to change notification settings - Fork 4
Introduce minimal Schema for nanopore registration #350
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
Merged
Steffengreiner
merged 8 commits into
development
from
feature/dm-669-valid-minimal-nanopore-datastructure
Feb 13, 2023
Merged
Introduce minimal Schema for nanopore registration #350
Steffengreiner
merged 8 commits into
development
from
feature/dm-669-valid-minimal-nanopore-datastructure
Feb 13, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…chema and json examples + tests
…ers and file generation instead of throwing errors
…al expected datastructure
…for minimum number of files
KochTobi
requested changes
Feb 13, 2023
Contributor
KochTobi
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.
Only some minor requests
src/main/groovy/life/qbic/datamodel/datasets/datastructure/files/nanopore/OptionalFile.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/life/qbic/datamodel/datasets/OxfordNanoporeExperiment.groovy
Outdated
Show resolved
Hide resolved
Co-authored-by: Tobias Koch <[email protected]>
…and isFolder check methods
KochTobi
approved these changes
Feb 13, 2023
Contributor
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.
LGTM 👍
Steffengreiner
added a commit
that referenced
this pull request
Feb 13, 2023
Introduce minimal Schema for nanopore registration (#350)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was changed
This PR introduces a schema and example json for checking if the minimal required files for a nanopore data registration are within a provided dataset.
Additionally it adapts the
OxfordNanoporeExperimentgeneration to not fail if an unknown file or folder is found but include them asOptionalFileandOptionalFolderin the datastructure to allow for variations within the provided datastructure.Background information
As of now the minimum required folders are:
While the minimum required files are:
Open Questions
Due to the new constraints, the previously defined schemas and datafiles/Datafolders are ALL now unnecessary and could be deleted, since as soon as the minimal required files are provided the
OxfordNanoporeExperimentis created and can be parsed.The only reason for keeping multiple schemas could be if the distinction between the files in the OxfordnanoporeExperiment class is necessary (e.g. for accessing metadata within the files).
However this is only the case for the
final_summary.txtfile and thereport.mdfile as of yet.