Skip to content
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

Support protobuff for TEMPO-cBio pipeline JSON/data model #1352

Closed
ao508 opened this issue Dec 18, 2024 · 1 comment
Closed

Support protobuff for TEMPO-cBio pipeline JSON/data model #1352

ao508 opened this issue Dec 18, 2024 · 1 comment

Comments

@ao508
Copy link
Collaborator

ao508 commented Dec 18, 2024

JSON schema to publish from smile-server to TEMPO-cBio pipeline
Note: we want to use protocol buffers generation

Proposed schema:

- primaryId
- cmoSampleName
- embargoStatus (needs to be resolved from embargo date)
- custodianInformation
- cohortId

This card can be considered done when the protobufs class and generated models are checked into smile-commons

https://github.com/mskcc/smile-commons

Current java version for protobufs (works with java21): protbufs 4.26.1

smile.proto

syntax = "proto3";
package smile;
option go_package = "github.com/mskcc/mskprotobuf/smile;smile";

message TempoSampleUpdateMessage {
  repeated TempoSample tempoSamples = 1;
}

message TempoSample {
  string primaryId = 1;
  string cmoSampleName = 2;
  bool embargoStatus = 3;
  string custodian = 4;
}

protoc path/to/smile.proto --java_out=[directory to write out to]

@ao508
Copy link
Collaborator Author

ao508 commented Dec 18, 2024

Please add your planning poker estimate with Zenhub @qu8n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant