-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
File objects should include type #42
Comments
|
Yes. I guess it's a minor benefit, so can just leave it out. Regarding secondary files, I think they are only really useful for describing tools that create them (e.g. bamtools index would specify .bai on its "indexed" output) so that the engine can make sure that the index file always stays with data file (when moving to long-term storage or between compute nodes). Don't think we need to require users/engines to supply the secondary files list at all, can just have it as a property of output bindings. If we do, perhaps it's simplest to always list secondary files as patterns (not whole file structs)? |
|
So, patterns in Optional list of full file objects in class: File
size: 42
path: /path/to/file.bam
secondaryFiles:
- class: File
size: 13
path: /path/to/file.bam.bai |
Including I think we're on the same page with secondaryFiles, it remains to be documented and we'll need to write tests. However, I'm closing this issue since the main topic is now completed. |
Can use refScope and mapSubject/mapPredicate on specialize.
Current way of representing file objects:
It makes us rely on type definitions to tell if something is a file or not, which is bad since type defs can be unions and thus ambiguous.
I'd suggest we include type explicitly, add a "name" property, and represent secondary files with the naming convention. Also, metadata should hopefully be prefixed with ontology base. Example:
The text was updated successfully, but these errors were encountered: