Personal tools

Test: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
mNo edit summary
No edit summary
Line 1: Line 1:
{{f5samplesTest
{{Loading|loadingimage=sprites.gif}}{{#vardefine:geneids_content|{{#ask:[[Category:EntrezGene]][[tax_id::9606]][[tf?::true]]
|DRA_sample_Accession=chicken_CAGE@SAMD00053745
|?GeneID
|DRA_sample_Accession_Zoo=chicken_sRNA@SAMD00053745
|?Symbol
|accession_numbers=chicken_CAGE;DRX057267;DRR063026;DRZ007521;DRZ007553
|?Associated motif id
|accession_numbers_Zoo=chicken_sRNA;DRX163585;DRR172974;DRZ014421!chicken_sRNA;DRX163586;DRR172975;DRZ014422
|?Description
|ancestors_in_anatomy_facet=UBERON:0000468,UBERON:0000922,UBERON:0000479,UBERON:0000061,UBERON:0000465,UBERON:0001062
|format=array
|ancestors_in_cell_lineage_facet=
|headers=hide
|ancestors_in_disease_facet=
|sort=Symbol
|ancestors_in_ff_facet=FF:0000102,FF:0000101,FF:0000032,FF:0000001,FF:0000004,FF:0000649
|order=DESC
|comment=
|mainlabel=-
|created_by=
|sep=?
|creation_date=
|propsep=/
|def=
|manysep=!
|fonse_cell_line=
|recordsep=<RCRD>
|fonse_cell_line_closure=
|limit=10
|fonse_cellprecursor=
|fonse_cellprecursor_closure=
|fonse_developsfrom=
|fonse_developsfrom_closure=
|fonse_disease=
|fonse_disease_closure=
|fonse_isa=
|fonse_isa_closure=
|fonse_location=
|fonse_location_closure=
|fonse_organ=
|fonse_organ_closure=
|fonse_organismsubdivision=
|fonse_organismsubdivision_closure=
|fonse_sampletype=
|fonse_sampletype_closure=
|fonse_stage=
|fonse_stage_closure=
|fonse_system=
|fonse_system_closure=
|fonse_taxon=
|fonse_taxon_closure=
|fonse_treatment=
|fonse_treatment_closure=
|has_quality=
|id=FF:10004-101A9
|is_a=FF:0000004;;FF:0000032;;FF:0000649;;UBERON:0000922
|is_obsolete=
|library_id=CNhs10485
|name=chicken embryo whole body, day10 (HH37)
|namespace=
|part_of=
|profile_cagescan=,,,
|profile_hcage=CNhs10485,LSID656,release008,COMPLETED
|profile_rnaseq=,,,
|profile_srnaseq=SRhi10006,,,
|rna_box=101
|rna_catalog_number=NA
|rna_concentration=4.4
|rna_extraction_protocol=OP-RNA-extraction-totalRNA-TRIzol-isopropanol-v1.0
|rna_lot_number=NA
|rna_od260/230=1.686666667
|rna_od260/280=1.943333333
|rna_position=A9
|rna_rin=9.9
|rna_sample_type=total RNA
|rna_tube_id=101A9
|rna_weight_ug=800
|sample_age=
|sample_category=tissues
|sample_cell_catalog=NA
|sample_cell_line=
|sample_cell_lot=NA
|sample_cell_type=CELL MIXTURE - tissue sample
|sample_collaboration=Guojun Sheng (RIKEN CDB)
|sample_company=NA
|sample_description=
|sample_dev_stage=10 days embryo
|sample_disease=normal
|sample_donor(cell lot)=1
|sample_ethnicity=
|sample_experimental_condition=
|sample_id=10004
|sample_note=
|sample_sex=unknown
|sample_species=Gallus gallus
|sample_strain=
|sample_tissue=whole body
|top_motifs=
|xref=
|zoo_library_id=SRhi10006.GGCTAC!SRhi10007.GGTAGC
|zenbu_report=https://fantom.gsc.riken.jp/zenbu/reports/#miRNA_expression_atlas_chicken;search_select_hide=table111:FF:10004-101A9;search_select_hide=table117:FF:10004-101A9
}}
}}
}}
{{#vardefine:db_content}}
{{#arraydefine:geneids_array|{{#var:geneids_content}}|?}}
{{
  #loop: j
  | 0         
  | {{#arraysize:geneids_array}}
  | <nowiki/>
{{#vardefine:ID|{{#explode:{{#arrayindex:geneids_array|{{#var:j}}}}|/|0}}}}
{{#vardefine:Symbol|{{#explode:{{#arrayindex:geneids_array|{{#var:j}}}}|/|1}}}}
{{#vardefine:MotifId|{{#explode:{{#arrayindex:geneids_array|{{#var:j}}}}|/|2}}}}
{{#vardefine:Description|{{#explode:{{#arrayindex:geneids_array|{{#var:j}}}}|/|3}}}}
{{#vardefine:PeakCount|{{#ask: [[Category:FFCP]][[EntrezGene::{{#var:ID}}]]|format=count}}}}
{{#arraydefine: defined_array{{#var:j}} |{{#var:ID}}/{{#var:Symbol}}/{{#var:MotifId}}/{{#var:Description}}/{{#var:PeakCount}}}}
{{#vardefine:db_content|{{#arrayprint:defined_array{{#var:j}}}}?{{#var:db_content}}  }}
}}
==Human transcription factors==
<html>
<script type="text/javascript" src="/5/sstar/rb_js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/5/sstar/rb_js/html5button/datatables.min.js"></script>
<style type="text/css" title="currentStyle">
@import "/5/sstar/rb_js/html5button/datatables.css";
.ImageBorder
{
    border:1px solid lightgrey;
    width      : 90px;
    height      : 20px;
}
</style>
<script type="text/javascript">
            var content = "";
            var m_data = {};
            m_data.content = [];
$(document).ready(function() {
                    content= "</html>{{#var:db_content}}<html>";
                    var content_array = content.split("?");
                    for(i=0;i<content_array.length-1;i++){
                    var temp = content_array[i];
                    var temp_array =temp.split("/");
                    var mot_id="";
                        if(temp_array[2].length> 0){ mot_id=temp_array[2];}else{mot_id="NA";}
                   
                    m_data.content.push({EntrezGene:'<a href=/5/sstar/EntrezGene:'+temp_array[0]+'>'+temp_array[0]+'</a>',            Symbol:temp_array[1],MotifId:mot_id,Description:temp_array[3],PeakCount:temp_array[4]});
               
                }
$('#tf_table').DataTable( {
        dom: 'Blfrtip',
                processing: true,
                pageLength: 25,
        buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'],
        lengthMenu: [[10, 25, 50, -1], [10, 25, 50, "All"]],
                scrollCollapse: true,
                autoWidth: false,
                jQueryUI: false,
                order: [[ 2, "asc" ]],
                data: m_data.content,
        columns: [
{ data: "EntrezGene", title: "EntrezGene"},
            { data: "Symbol", title: "Symbol"},
            { data: "MotifId", title: "Associated Motif",
              render: function ( data, type, row, meta ) {
var motid = data;
if (motid == "NA") {
    return_val = "NA";
} else {
    var splitted = motid.split("!");
    if (splitted != null) {
        if (splitted.length > 1) {
            var return_val = "";
            for (i = 0; i < splitted.length; i++) {
                if (splitted[i].toString().indexOf("JASPAR motif") >= 0) {
                    return_val = '<a href=\"/5/sstar/' + splitted[i] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[i].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;
                } else if (splitted[i].toString().indexOf("Swissregulon") >= 0) {
                    /*return_val = '<a href=\"/5/sstar/'+ splitted[i] + '\"><img src=\"/5/sstar/seqlogo/' + replaceAll(splitted[i].split(":")[1]," ","_") + '.png"  class="ImageBorder"  alt="' + splitted[i] + '">' + '</a>' + return_val;*/
return_val = "";
                }
                else{
                    return_val = "";
                }
            }
        } else {
            if (splitted[0].toString().indexOf("JASPAR motif") >= 0) {
                return_val = '<a href=\"/5/sstar/' + splitted[0] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[0].split(":")[1] + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>' ;
            } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) {
              /* return_val = '<a href=\"/5/sstar/' + splitted[0] + '\"><img src=\"/5/sstar/seqlogo/' + replaceAll(splitted[0].split(":")[1]," ","_") + '.png"  class="ImageBorder"  alt="' + splitted[0] + '">' + '</a>' ;*/
return_val = "";
            }
            else{
                    return_val = "";
                }
        }
    } else {
        return_val = "NA";
    }
}
return return_val;
}
                                },
                                {data: "Description",title: "Description"},
                                {data: "PeakCount",title: "#of peaks"}
                                ]
} );
} );
function replaceAll(str, token, newtoken) {
    if(token!=newtoken)
    while(str.indexOf(token) > -1) {
        str = str.replace(token, newtoken);
    }
    return str;
}
</script>
<span id="export_tool"></span>
</html>
<table cellpadding="0" cellspacing="0" border="0" class="stripe cell-border order-column compact" id="tf_table"> 
</table>

Revision as of 13:50, 17 September 2021



Human transcription factors