Skip to content

Commit

Permalink
update: schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
zprobot committed Sep 11, 2024
1 parent 42b6825 commit c48766b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/feature.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
{"name": "additional_scores", "type": {"type": "array","items": { "type": "struct", "field": { "name": "string", "value": "double"}}} ,
"doc": "List of structures, each structure contains two fields: name and value."},


{"name": "pg_accessions", "type": ["null", {"type": "array","items": "string"}], "doc": "Protein group accessions of all the proteins that the peptide maps to"},
{"name": "pg_positions", "type": ["null", {"type": "array","items": "string"}], "doc": "Protein start and end positions written as start_post:end_post"},
{"name": "unique", "type": ["null", "int"], "doc": "Unique peptide indicator, if the peptide maps to a single protein, the value is 1, otherwise 0"},
Expand Down
4 changes: 2 additions & 2 deletions docs/peptide.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

{"name": "is_decoy", "type": "int", "doc": "Decoy indicator, 1 if the PSM is a decoy, 0 target"},
{"name": "calculated_mz", "type": "double", "doc": "Theoretical peptide mass-to-charge ratio based on identified sequence and modifications"},
{"name": "additional_scores", "type": {"type": "array", "items": "string"}, "doc": "List of search engine scores as key-value pairs, read the specification for more details"},

{"name": "additional_scores", "type": {"type": "array","items": { "type": "struct", "field": { "name": "string", "value": "double"}}} ,
"doc": "List of structures, each structure contains two fields: name and value."},

{"name": "pg_accessions", "type": ["null",{"type": "array","items": "string"}], "doc": "Protein group accessions of all the proteins that the peptide maps to"},
{"name": "pg_positions", "type": ["null",{"type": "array","items": "string"}], "doc": "Protein start and end positions written as start_post:end_post"},
Expand Down
4 changes: 2 additions & 2 deletions docs/psm.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

{"name": "is_decoy", "type": "int", "doc": "Decoy indicator, 1 if the PSM is a decoy, 0 target"},
{"name": "calculated_mz", "type": "double", "doc": "Theoretical peptide mass-to-charge ratio based on identified sequence and modifications"},
{"name": "additional_scores", "type": {"type": "array", "items": "string"}, "doc": "List of search engine scores as key-value pairs, read the specification for more details"},

{"name": "additional_scores", "type": {"type": "array","items": { "type": "struct", "field": { "name": "string", "value": "double"}}} ,
"doc": "List of structures, each structure contains two fields: name and value."},

{"name": "pg_accessions", "type": ["null",{"type": "array","items": "string"}], "doc": "Protein group accessions of all the proteins that the peptide maps to"},
{"name": "pg_positions", "type": ["null",{"type": "array","items": "string"}], "doc": "Protein start and end positions written as start_post:end_post"},
Expand Down

0 comments on commit c48766b

Please sign in to comment.