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

[FORMATS-170] Add sampleId to Feature record #167

Merged
merged 2 commits into from
Nov 7, 2018

Conversation

akmorrow13
Copy link
Contributor

No description provided.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/bdg-formats-prb/179/
Test PASSed.

/**
Identifier for this sample.
*/
union { null, string } sampleId = null;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@heuermh do you think this should be an Avro Sample or just a string sampleId?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elsewhere we use sampleId, with the expectation that users will join on sampleId against metadata samplesSample.sampleId.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @heuermh. Just to clarify then, this is correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. I'd suggest updating the doc string to something like

  /**
   Sample identifier for this feature. Join with Sample.sampleId for sample metadata.
   sampleId tag in GFF3.
  */

This matches the style used in #108.

/**
Identifier for this sample.
*/
union { null, string } sampleId = null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. I'd suggest updating the doc string to something like

  /**
   Sample identifier for this feature. Join with Sample.sampleId for sample metadata.
   sampleId tag in GFF3.
  */

This matches the style used in #108.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/bdg-formats-prb/180/
Test PASSed.

@heuermh
Copy link
Member

heuermh commented Sep 19, 2018

Propose to milestone version 0.11.4.

@heuermh heuermh changed the title added sampleId to Feature record [FORMATS-170] Add sampleId to Feature record Nov 7, 2018
@heuermh heuermh added this to the 0.11.4 milestone Nov 7, 2018
@heuermh heuermh merged commit 38538e6 into bigdatagenomics:master Nov 7, 2018
@heuermh
Copy link
Member

heuermh commented Nov 7, 2018

Thank you, @akmorrow13

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

Successfully merging this pull request may close these issues.

3 participants