Skip to content

Commit

Permalink
start MITAB
Browse files Browse the repository at this point in the history
  • Loading branch information
cc committed Jun 1, 2013
1 parent 2e3773d commit 8a556d6
Show file tree
Hide file tree
Showing 23 changed files with 18,045 additions and 649 deletions.
1,349 changes: 1,349 additions & 0 deletions 10679202.xml

Large diffs are not rendered by default.

6,910 changes: 6,910 additions & 0 deletions 22843697.xml

Large diffs are not rendered by default.

35 changes: 17 additions & 18 deletions MI-JSON.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
/* JSON format for PSI-MI data.
* - first attempt, change it if you think terminology or structure is wrong.
*
*
* *Overview*
* An array of Interactors, each with:
* sequence,
* type (values are "protein", "bioactive entity", "gene", or "nucliec acid"),
* organism,
* accession,
* label,
* array of features (such as PTM's), each with:
* array of features (such as PTM's, i.e. unlinked features), each with:
* name,
* start residue (1 based),
* end residue (1 based)
* meta? - you could put any other relevant info in here?
* [TODO: add information about membership of complexes (parent node)
* and stochiometry in order to make complex viewer :) ]
* and stochiometry in order to make complex viewer :) ]
*
*then an array of Interactions, each with:
* source accession,
* target accession,
* an array of linked features
*
*
* for each linked feature:
* evidence,
* source binding sites (string, see below),
* target binding sites (string, see below),
* meta? - you could put any other relevant info in here? publication?
*
*
* Strings describing binding sites (MI-TAB like)
* - comma seperated list of binding sites,
* - binding sites can be specific residue, range with or without fuzzy
* boundaries, fuzzy range, greater than, less than,
* or keywords for unknown, n/c terminus, n/c terminus range
*
* - binding sites can be specific residue, range with or without fuzzy
* boundaries, fuzzy range, greater than, less than,
* or keywords for unknown, n/c terminus, n/c terminus range
*
* - i.e. a comma seperated list of any of the following (numerical values are 1 based):
*
*
* "?" = unknown (represented as link to circle beside interactors label)
* "n" = residue 1
* "c" = residue at interactor.sequence.length
Expand All @@ -45,32 +45,31 @@
* "86..123-456..464" = residue range with fuzzy boundaries
* "86..123-456" = residue range with one fuzzy boundary
* "23..45" = fuzzy range
* "<8" = range between 0 and 8
* "<8" = range between 1 and 8
* ">256" = range between 256 and interactor.sequence.length
*
*/


//example
var miData = {
"interactors": [
{
"sequence": "AREALLYLONGLISTOFCAPITALLETTERS",
"sequence": "MAATAAAVVAEEDTELRDLLVQTLENSGVLNRIKAELRAAVFLALEEQEKVENKTPLVNESLKKFLNTKDGRLVASLVAEFLQFFNLDFTLAVFQPETSTLQGLEGRENLARDLGIIEAEGTVGGPLLLEVIRRCQQKEKGPTTGEGALDLSDVHSPPKSPEGKTSAQTTPSKIPRYKGQGKKKTSGQKAGDKKANDEANQSDTSVSLSEPKSKSSLHLLSHETKIGSFLSNRTLDGKDKAGLCPDEDDMEGDSFFDDPIPKPEKTYGLRKEPRKQAGSLASLSDAPPLKSGLSSLAGAPSLKDSESKRGNTVLKDLKLISDKIGSLGLGTGEDDDYVDDFNSTSHRSEKSEISIGEEIEEDLSVEIDDINTSDKLDDLTQDLTVSQLSDVADYLEDVA",
"type": "protein",
"organism": "penguin",
"accession": "P1",
"label": "Quentin",
"meta": {"fruit": "apple"}
},
{
"sequence": "ANOTHERAREALLYLONGLISTOFCAPITALLETTERS",
"sequence": "MCDRKAVIKNADMSEEMQQDSVECATQALEKYNIEKDIAAHIKKEFDKKYNPTWHCIVGRNFGSYVTHETKHFIYFYLGQVAILLFKSGMCDRKAVIKNADMSEEMQQDSVECATQALEKYNIEKDIAAHIKKEFDKKYNPTWHCIVGRNFGSYVTHETKHFIYFYLGQVAILLFKSG",
"type": "protein",
"organism": "penguin",
"accession": "P2",
"label": "Justin"
},
{
"sequence": "ANOTHERAREALLYLONGLISTOFCAPITALLETTERSAGAIN",
"sequence": "ANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAINANOTHERREALLYLONGLISTOFCAPITALLETTERSAGAIN",
"type": "protein",
"organism": "penguin",
"accession": "P3",
Expand All @@ -80,13 +79,13 @@ var miData = {
],
"interactions": [
{
"target": "P1",
"source": "P2",
"target": "P1",
"linkedFeatures": [
{
"evidence": "mass spec/cross-linking",
"sourceSites": "128",
"targetSites": "987"
"targetSites": "350"
},
{
"evidence": "Y2H",
Expand All @@ -96,8 +95,8 @@ var miData = {
]
},
{
"target": "P3",
"source": "P2",
"target": "P3",
"linkedFeatures": [
{
"evidence": "tarot cards",
Expand Down
53 changes: 53 additions & 0 deletions MITAB_P51587.tab

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions MITAB_Q96B97.tab

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions MITAB_Q9GZM8.tab

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
xiNET interaction viewer
Copyright 2013 Rappsilber Laboratory

This product includes software developed at
the Rappsilber Laboratory (http://www.rappsilberlab.org/).

// xiNET interaction viewer
// Copyright 2013 Rappsilber Laboratory
//
// This product includes software developed at
// the Rappsilber Laboratory (http://www.rappsilberlab.org/).
4 changes: 2 additions & 2 deletions demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ html, body, #outerDiv {
}

p{
margin-left:8px;
margin:8px;
}
#leftColumn{
width: 228px;
Expand Down Expand Up @@ -44,7 +44,7 @@ fieldset{
padding: 8px;
}
input, select, button {
max-width: 171px;
/*max-width: 171px;*/
margin:2px;
margin-top:4px;
}
Expand Down
Loading

0 comments on commit 8a556d6

Please sign in to comment.