Skip to content

Commit

Permalink
Add attributes to reference/sets
Browse files Browse the repository at this point in the history
Close ga4gh#537
  • Loading branch information
david4096 committed Jan 10, 2017
1 parent 9e288ab commit 07927d5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/proto/ga4gh/references.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ syntax = "proto3";

package ga4gh;

import "ga4gh/metadata.proto";

// A `Reference` is a canonical assembled contig, intended to act as a
// reference coordinate space for other genomic annotations. A single
// `Reference` might represent the human chromosome 1, for instance.
Expand Down Expand Up @@ -49,6 +51,9 @@ message Reference {

// ID from http://www.ncbi.nlm.nih.gov/taxonomy (e.g. 9606->human).
int32 ncbi_taxon_id = 9;

// A map of additional information.
Attributes attributes = 10;
}

// A `ReferenceSet` is a set of `Reference` s which typically comprise a
Expand Down Expand Up @@ -96,4 +101,7 @@ message ReferenceSet {
// additional sequences, or some of the sequences within it are derived
// (see the definition of `isDerived` in `Reference`).
bool is_derived = 9;

// A map of additional information.
Attributes attributes = 10;
}

0 comments on commit 07927d5

Please sign in to comment.