.
The Open Protein Structure Annotation Network
PDB Keyword
.

Template:DDITable

    Table of contents
    No headers

    Domain-domain interactions for {{ args['name1']; }} and {{ args['name2'] ;}}

    var domains1 = myproteins.recordlist('select distinct domainname from pfamdomains where source = \'PFAM\' and targetName=\'' .. args['name1'] .. '\' order by domainName');
    var domains2 = myproteins.recordlist('select distinct domainname from pfamdomains where source = \'PFAM\' and targetName=\'' .. args['name2'] .. '\' order by domainName');
    
    var cols = #domains2+1;
    var rows = #domains1+1
    
      {{ args['name2']}}
    {{args['name1'] }}   {{d2['domainname'] }}
    {{d1['domainname'] }}
    var count = myproteins.recordlist ('select count(*)  as c from 3did_ddi where (domain1=\''..d1['domainname']..'\' and domain2=\''..d2['domainname']..'\') or (domain1=\''..d2['domainname']..'\' and domain2=\''..d1['domainname']..'\') ');
    var field = "-";
    var divcolor = "background-color:white";
    if (count[0]['c'] >0) { let field = "+"; let divcolor="background-color:red; font-weight: bold;"};
    <div style=(divcolor)>field;</div>
    

     

     

    Cytoscape Web will replace the contents of this div with your graph.

    Click nodes or edges.

    Reviews

    References

     

    No references found.

    Tag page
    • No tags

    Files (0)

     
    You must login to post a comment.
    All content on this site is licensed under a Creative Commons Attribution 3.0 License
    Powered by MindTouch