Template: TSS List Human: Difference between revisions

From referenceTSS
Jump to: navigation, search
No edit summary
No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<html>
<html>
<script type="text/javascript" language="javascript" src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script type="text/javascript" language="javascript" src="/reftss_js/html5button/datatables.min.js"></script>
<style type="text/css" title="currentStyle">
<style type="text/css" title="currentStyle">
@import "/reftss_js/html5button/datatables.min.css";


/* even and odd in tables */
/* even and odd in tables */
Line 13: Line 10:
}
}
</style>
</style>
<script type="text/javascript">
</html>
$(document).ready(function() {
{{#if:{{{tss_id|}}}{{{gene_symbol|}}}{{{gene_name|}}}|
    $("#browse_tss").DataTable( {
        dom: 'Blfrtip',
        buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'],
        lengthMenu: [[25, 50, 100, -1], ["25", "50", "100", "All"]],
        order: [[ 0, 'asc' ]]
    } );
} );
</script></html>
{{#if:{{{tss_id|}}}
|{{#if:{{{gene_symbol|}}}
|<!-- compound query -->
{{#ask:
{{#ask:
[[Concept:RefTSS]][[species::human]][[tss_id::~*{{#replace:{{{tss_id|}}}| |_}}*]][[gene_symbol::~*{{{gene_symbol|}}}*]]
[[Concept:TSS4Human]]
|?chr
{{#switch:{{#sub:{{{tss_id|}}}|0|2}}
|rf={{#if:{{{tss_id|}}}|[[tss_id::~{{#replace:{{{tss_id|}}}| |_}}*]]|}}
|{{#if:{{{tss_id|}}}|[[tss_id::~*{{#replace:{{{tss_id|}}}| |_}}*]]|}}
}}
{{#if:{{{gene_symbol|}}}|[[gene_symbol::~*{{{gene_symbol|}}}*]]|}}{{#if:{{{gene_name|}}}|[[gene_name::~*{{{gene_name|}}}*]]|}}
|?tss_id_v3
|?gene_symbol
|?gene_symbol
|?start
|?end
|?strand
|intro=<table class="sortable wikitable smwtable compact cell-border" style="border-style:none" id="browse_tss"><html><thead></html><tr><th>TSS ID</th><th>Chr</th><th>Gene Symbol</th><th>Start</th><th>End</th><th>Strand</th></tr><html></thead><tbody></html>
|outro=<html></tbody></html></table>
|format=template
|template=Browse_tss_list
|searchlabel=
|link=none
|limit=2000}}
|<!-- ask tss_id -->
{{#ask:
[[Concept:RefTSS]][[species::human]][[tss_id::~*{{#replace:{{{tss_id|}}}| |_}}*]]
|?chr
|?chr
|?gene_symbol
|?start
|?start
|?end
|?end
|?strand
|?strand
|intro=<table class="sortable wikitable smwtable compact cell-border" style="border-style:none" id="browse_tss"><html><thead></html><tr><th>TSS ID</th><th>Chr</th><th>Gene Symbol</th><th>Start</th><th>End</th><th>Strand</th></tr><html></thead><tbody></html>
|?tss_id
|?ccre_category
|intro=<table class="sortable wikitable smwtable compact cell-border" style="border-style:none" id="browse_tss"><html><thead></html><tr><th>TSS ID</th><th>Version3 ID</th><th>Gene Symbol</th><th>Chr</th><th>Start</th><th>End</th><th>Strand</th><th>cCRE category</th></tr><html></thead><tbody></html>
|outro=<html></tbody></html></table>
|outro=<html></tbody></html></table>
|format=template
|format=template
Line 54: Line 33:
|searchlabel=
|searchlabel=
|link=none
|link=none
|limit=2000}}
|limit=2000
}}
|default=Could not find any records matching the provided ID.}}
|{{#if:{{{gene_symbol|}}}
|Please enter keyword.
|<!-- ask gene_symbol -->
{{#ask:
[[Concept:RefTSS]][[species::human]][[gene_symbol::~*{{{gene_symbol|}}}*]]
|?chr
|?gene_symbol
|?start
|?end
|?strand
|intro=<table class="sortable wikitable smwtable compact cell-border" style="border-style:none" id="browse_tss"><html><thead></html><tr><th>TSS ID</th><th>Chr</th><th>Gene Symbol</th><th>Start</th><th>End</th><th>Strand</th></tr><html></thead><tbody></html>
|outro=<html></tbody></html></table>
|format=template
|template=Browse_tss_list
|searchlabel=
|link=none
|limit=2000}}
|<!-- compound query (blank&blank) -->Please enter keyword.
}}
}}
}}

Latest revision as of 15:27, 19 March 2024

Please enter keyword.