Commit e49a3ec4 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

rename secreton into txssdb

parent 4bec18d0
[
// filenames matching these regexps will not be pushed to the database
// uncomment to activate; separate entries with ","
// ".*~$"
// ".*\\.swp$"
// ".*\\.bak$"
"\\.project" ,
"\\.couchapprc",
".*\\.swp$",
"\\.svn"
]
## Generated CouchApp
This is meant to be an example CouchApp and to ship with most of the CouchApp goodies.
Clone with git:
git clone git://github.com/couchapp/example.git
cd example
Install with
couchapp push . http://localhost:5984/example
or (if you have security turned on)
couchapp push . http://adminname:adminpass@localhost:5984/example
You can also create this app by running
couchapp generate example && cd example
couchapp push . http://localhost:5984/example
Deprecated: *couchapp generate proto && cd proto*
## Todo
* factor CouchApp Commonjs to jquery.couch.require.js
* use $.couch.app in app.js
## License
Apache 2.0
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="166.71875"
height="148.33006"
id="svg2"
version="1.1"
inkscape:version="0.48.0 r9654"
sodipodi:docname="systeme_simple.svg">
<defs
id="defs4">
<linearGradient
id="linearGradient14511">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop14513" />
<stop
id="stop14525"
offset="0.03119814"
style="stop-color:#2dd2a2;stop-opacity:0.9372549;" />
<stop
id="stop14523"
offset="0.14836448"
style="stop-color:#4bb48b;stop-opacity:0.8745098;" />
<stop
id="stop14521"
offset="0.25"
style="stop-color:#87785d;stop-opacity:0.74901961;" />
<stop
id="stop14519"
offset="0.8037383"
style="stop-color:#c12727;stop-opacity:0.49803922;" />
<stop
style="stop-color:#ff0000;stop-opacity:0;"
offset="1"
id="stop14515" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective3002" />
<clipPath
id="clipPath18"
clipPathUnits="userSpaceOnUse">
<path
inkscape:connector-curvature="0"
id="path20"
d="m 177.199,180 5592.8,0 0,7740 -5592.8,0 0,-7740 z" />
</clipPath>
<clipPath
id="clipPath4042"
clipPathUnits="userSpaceOnUse">
<path
inkscape:connector-curvature="0"
id="path4044"
d="m 5035.6,2279.8 0,4147.2 -4267.998,0 0,-4147.2 4267.998,0 z" />
</clipPath>
<clipPath
id="clipPath3982"
clipPathUnits="userSpaceOnUse">
<path
inkscape:connector-curvature="0"
id="path3984"
d="m 5770,1689.4 0,5040 -5592.801,0 0,-5040 5592.801,0 z" />
</clipPath>
<clipPath
id="clipPath18-7"
clipPathUnits="userSpaceOnUse">
<path
inkscape:connector-curvature="0"
id="path20-6"
d="m 5035.6,2279.8 0,4147.2 -4267.998,0 0,-4147.2 4267.998,0 z" />
</clipPath>
<clipPath
id="clipPath18-0"
clipPathUnits="userSpaceOnUse">
<path
inkscape:connector-curvature="0"
id="path20-4"
d="m 5770,609.398 0,7200.002 -5592.801,0 0,-7200.002 5592.801,0 z" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath18-1">
<path
d="m 177.199,180 5592.8,0 0,7740 -5592.8,0 0,-7740 z"
id="path20-5"
inkscape:connector-curvature="0" />
</clipPath>
<clipPath
id="clipPath18-3"
clipPathUnits="userSpaceOnUse">
<path
inkscape:connector-curvature="0"
id="path20-9"
d="m 177.199,180 5592.8,0 0,7740 -5592.8,0 0,-7740 z" />
</clipPath>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient14511"
id="radialGradient14517"
cx="231.43533"
cy="-288.84976"
fx="231.43533"
fy="-288.84976"
r="24.227051"
gradientTransform="matrix(4.0309307,-0.01409408,0.00100524,0.28750051,-701.17409,-143.86017)"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.928601"
inkscape:cx="167.4998"
inkscape:cy="19.979971"
inkscape:document-units="px"
inkscape:current-layer="g20637"
showgrid="false"
inkscape:window-width="1916"
inkscape:window-height="1156"
inkscape:window-x="4"
inkscape:window-y="0"
inkscape:window-maximized="1"
units="px"
fit-margin-top="2"
fit-margin-right="2"
fit-margin-bottom="2"
fit-margin-left="2" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-176.96875,-145.53107)">
<g
id="g3978"
transform="matrix(0,0.03957337,0.03957337,0,353.20539,-110.45939)">
<g
clip-path="url(#clipPath3982)"
id="g3980">
<g
transform="scale(10,10)"
id="g4028" />
</g>
</g>
<g
id="g20637"
transform="translate(0,418.88233)">
<g
id="g3804"
style="opacity:0.85483871">
<rect
style="fill:#f80e16;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3030"
width="22.440928"
height="10.300723"
x="249.10855"
y="-137.32191"
rx="6.5229068"
ry="6.5229073" />
<rect
style="fill:#87cdde;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.00000004, 1.00000004;stroke-dashoffset:0"
id="rect2985"
width="161.71307"
height="6.372077"
x="179.47247"
y="-143.5323" />
<rect
y="-171.75151"
x="179.47247"
height="6.372077"
width="161.71307"
id="rect2987"
style="fill:#87cdde;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.00000004, 1.00000004;stroke-dashoffset:0" />
<rect
style="fill:#87cdde;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect2989"
width="161.71307"
height="2.7308903"
x="179.47247"
y="-159.17061" />
<rect
style="fill:#f0de2f;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect2996"
width="20.936823"
height="14.715051"
x="249.8606"
y="-172.35695"
ry="6.5229068"
rx="6.5229068" />
<path
style="fill:#550000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 249.81774,-156.9253 21.02256,0 c 1.51292,0 2.73089,1.2949 2.73089,2.90336 l 0,14.61249 c 0,1.60846 -1.21797,2.90337 -2.73089,2.90337 l -21.02256,0 c -1.51292,0 -2.73089,-1.29491 -2.73089,-2.90337 l 0,-14.61249 c 0,-1.60846 1.21797,-2.90336 2.73089,-2.90336 z"
id="rect2998"
inkscape:connector-curvature="0" />
<rect
style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3000"
width="36.592869"
height="6.8737984"
x="242.03258"
y="-139.34363"
rx="6.5229068"
ry="6.5229068" />
<rect
style="fill:#008080;fill-opacity:0.78431373;fill-rule:nonzero;stroke:none"
id="rect3018"
width="14.75845"
height="16.072554"
x="252.94978"
y="-153.69057"
rx="6.5229068"
ry="6.5229068" />
<rect
style="fill:#808080;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3022"
width="8.0868225"
height="105.93736"
x="256.28561"
y="-262.86267"
rx="0"
ry="0" />
<rect
style="fill:#4d4d4d;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3024"
width="14.151939"
height="83.90078"
x="253.25305"
y="-255.38237"
rx="0"
ry="0" />
<rect
style="fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3026"
width="21.834419"
height="5.6607757"
x="249.41182"
y="-258.76028"
rx="6.5229068"
ry="6.5229068" />
<rect
style="fill:#8800aa;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3028"
width="18.801861"
height="8.4911623"
x="250.92809"
y="-143.2653"
rx="6.5229068"
ry="4.346076" />
<rect
y="-269.68674"
x="179.47247"
height="6.372077"
width="161.71307"
id="rect3035"
style="fill:#87cdde;fill-opacity:1;fill-rule:nonzero;stroke:none" />
<rect
style="fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3040"
width="19.870903"
height="9.4351063"
x="250.39357"
y="-271.35126"
ry="3.9267893"
rx="3.9267898" />
<rect
ry="0"
rx="0"
y="-259.42575"
x="256.48776"
height="88.146347"
width="7.6824808"
id="rect3050"
style="fill:none;stroke:#808080;stroke-width:0.99999994;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:2.99999997, 1;stroke-dashoffset:0" />
</g>
<text
xml:space="preserve"
style="font-size:26px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#87cdde;fill-opacity:0.85490406;stroke:#000000;font-family:Sans;-inkscape-font-specification:Arial Bold"
x="177.56818"
y="-199.57503"
id="text3032"
sodipodi:linespacing="100%"><tspan
sodipodi:role="line"
id="tspan3034"
x="177.56818"
y="-199.57503"
style="font-size:26px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#87cdde;fill-opacity:0.85490406;stroke:#000000;font-family:Arial;-inkscape-font-specification:Arial Bold">Home</tspan></text>
</g>
</g>
</svg>
<!DOCTYPE html>
<html>
<head>
<title>Secreton</title>
<link rel="stylesheet" href="style/main.css" type="text/css">
<link rel="stylesheet" href="style/tooltip.css" type="text/css">
<link rel="stylesheet" href="style/smoothness/jquery-ui-1.8.17.custom.css" type="text/css">
<script src="/_utils/script/jquery.js"></script>
<!-- <script src="/_utils/script/jquery-ui-1.8.11.custom.min.js"></script>-->
<script src="script/jquery-ui-1.8.17.custom.min.js"></script>
</head>
<body>
<h1>Secreton</h1>
<h2>Non-Flagellar Type III Secretion Systems in sequenced genomes</h2>
<div id="head">
<img src="images/systeme_complet.png" title="Non-Flagellar Type III Secretion System schema" alt="Non-Flagellar Type III Secretion System schema">
<p>Non-Flagellar Type III Secretion Systems (NF-T3SS, or injectisomes) are bacterial machineries partially homologous to the bacterial flagellum,
which allow direct injection of bacterial effectors from bacterial cytoplasm to eukaryotic cells via a molecular needle (cf. schema above).
NF-T3SS are found in animal and plant pathogens (<span class="gene_name">Yersinia pestis</span>,<span class="gene_name">Escherichia coli</span>, <span class="gene_name">Burkholderia</span>,...),
but also in plant and insect symbionts (e.g., Rhizobiales).</p>
<p>This website allows to query a dataset of 216 NF-T3SS retrieved from 1385 complete genome sequences.
These systems were detected with proteic profiles of NF-T3SS core genes (<span class="gene_name">sctC</span>, <span class="gene_name">sctN</span>, <span class="gene_name">sctJ</span>,
<span class="gene_name">sctQ</span>, <span class="gene_name">sctR</span>, <span class="gene_name">sctS</span>, <span class="gene_name">sctT</span>,
<span class="gene_name">sctU</span>, <span class="gene_name">sctV</span>),
and with an analysis of the genomic context of the hits obtained.
This dataset along with the methodology is described in <a href="http://www.plosgenetics.org/doi/pgen.1002983">Abby and Rocha 2012</a>.</p>
<p>Proteic profiles used for this study are available to analyze user data on the
Mobyle web server: <a href="http://mobyle.pasteur.fr/cgi-bin/portal.py#forms::T3SSscan-FLAGscan" target="_blank">http://mobyle.pasteur.fr/cgi-bin/portal.py#forms::T3SSscan-FLAGscan</a>.
These profiles allow to detect both NF-T3SS and flagella.</p>
<div class="citation">
Citation: <span class="citation_author">Abby SS</span>,
<span class="citation_author">Rocha EPC </span>
<span class="citation_date">(2012)</span>
<a href="http://www.plosgenetics.org/doi/pgen.1002983" target="_blank"><span class="citation_article_title">The Non-Flagellar Type III Secretion System Evolved from the Bacterial Flagellum and Diversified into Host-Cell Adapted Systems.</span></a>
<span class="citation_journal_title">PLoS Genet</span>
<span class="citation_issue"> 8(9):</span>
<span class="citation_start_page">e1002983.</span>
</div>
</div>
<div id="request">
<form>
<fieldset>
<legend>Detected NF-T3SS can be queried: </legend>
<label for="taxidSearch">by replicon taxon id (ex:155864)
<input type="text" name="taxidSearch" id="taxidInput" class="ui-widget ui-corner-all" />
<button type="button" id="taxidButton">search by taxid</button>
</label>
<label for="strainSearch">by strain <span style="font-size:smaller; font-style:italic;">(enter at least 3 characters)</span>
<input type="text" name="strainSearch" id="strainInput" size="100" class="ui-widget ui-corner-all" />
</label>
<label for="taxonomySearch">by taxonomy <span style="font-size:smaller; font-style:italic;">(enter at least 3 characters)</span>
<input type="text" name="taxonomySearch" id="taxonomyInput" size="50" class="ui-widget ui-corner-all" />
</label>
<label for="famillySearch">by T3SS family
<select name="familySearch" id="familyList" class="ui-widget ui-corner-all ui-state-default"> </select>
</label>
<label for="nameSearch">by replicon name (ex:BUMA001c02)
<input type="text" name="nameSearch" id="nameInput"class="ui-widget ui-corner-all" />
<select name="queryType" id="nameQueryType"class="ui-widget ui-corner-all ui-state-default">
<option value="is" selected="selected" class="ui-widget ui-corner-all ">is</option>
<option value="start_with" class="ui-widget ui-corner-all ">start_with</option>
</select>
<button type="button" id="nameButton">search by name</button>
</label>
</fieldset>
</form>
</div>
<div id="results"></div>
<div id="footer">
Visit our website: <a href="http://www.pasteur.fr/ip/easysite/pasteur/en/research/scientific-departments/genomes-and-genetics/units-and-groups/evolutionary-microbial-genomics/index">Microbial evolutionary genomics group</a>
</div>
</body>
<script type="text/javascript">
$(".tooltip a" , "#results").live('mouseenter', function(){
var link$ = $(this);
timer = setTimeout(function(){
var pos = link$.position();
var top = pos.top + link$.outerHeight(true)+3;
var left = pos.left + link$.outerWidth(false)-25;
link$.next().css({top: top+"px", left: left+"px"}).show(300)},
500);
}).live( 'mouseleave', function(){
clearTimeout(timer);
$(this).next().hide(300)});
</script>
<script type="text/javascript">
var get_results = function( view , args ){
var url = ['_list','index',view].join('/');
args.limit= 45+1;
$("#results").load(url , $.param(args) );
}
$("#nameButton").click( function(){
var params = {};
var $query= $("#nameQueryType").attr("value")
if ( $query == "start_with" ){
var key= $.trim($("#nameInput").attr("value"));
if( key ){
params.startkey='"'+key+'"';
params.endkey='"'+key+'\uFFFF"';
params.query_type="start_with";
}
}else{
var key= $("#nameInput").attr("value");
if( key ){ params.key='"'+key+'"'}
}
get_results( 'by_replicon_name', params);
});
$("#nameInput").keypress(function(event){
if(event.which == 13){
$("#nameButton").click();
}
});
$("#taxidButton").click( function(){
var params = {};
var key= $.trim($("#taxidInput").attr("value"));
if( key ){
if ( /^\d+$/.test( key )){
params.key = key ;
} else{
$("#results").html( '<ul>Invalid taxon id:'+key+'</ul>');
return ;
}
}
get_results( 'by_replicon_taxid', params);
});
$("#taxidInput").keypress(function(event){
if(event.which == 13){
$("#taxidButton").click();
}
});
$("#familyButton").click( function(){
var params = {};
var key= $.trim($("#familyInput").attr("value"));
if( key ){ params.key='"'+key+'"'}
get_results( 'by_family', $.param(params));
});
$.getJSON( "_view/t3ss_family" , {group:true}, function(response){
var html = '<option value="" class="ui-widget ui-corner-all ui-widget-content">choose a T3SS Family</option>\n';
for ( var i=0 ; i< response.rows.length ; i++){
html = html+'<option value="'+response.rows[i].key+'" class="ui-widget ui-corner-all">'+response.rows[i].key+'</option>\n';
}
$("#familyList").html( html );
$("#familyList").change(function(event){
var opt_value = $(event.target).val();
if ( opt_value){
var params = {};
params.key='"'+opt_value+'"'
get_results( 'by_family', params );
}else{
$("#results div").remove();
}
});
});
$("#strainInput").autocomplete({
source: function(req , response){
var term = '"'+$.trim(req.term).toLowerCase()+'"';
var suggestions =[];
$.getJSON("_view/strain", {key:term} , function(suggested_strain){
var cur_value ;
for(var i =0; i<suggested_strain.rows.length; i++){
if (cur_value != suggested_strain.rows[i].value){
suggestions.push(suggested_strain.rows[i].value);
cur_value = suggested_strain.rows[i].value;
}
}
response(suggestions);
});
},
select: function(evt , ui ){
strain= ui.item.value ;
params = { key: '"'+strain+'"' };
get_results( 'by_replicon_strain', params);
},
minLength:3
});
$("#strainInput").click( function (evt){
$("#results div").remove();
});
$("#strainInput").keypress(function(event){
if(event.which == 13){
strain= $(this).attr("value");
params = { key: '"'+strain+'"' };
get_results( 'by_replicon_strain', params);
}
});
$("#taxonomyInput").autocomplete({
source: function(req , response){
var term = '"'+req.term.toLowerCase()+'"';
var params= {
group:true,
startkey:'['+term+']',
endkey:'['+term+',{}]'