[%tf.name%]

JASPAR ID: [%tf.ID%]
Class: [%tf.class%]
Family: [%tf.tag('family')%]
Tax group: [%tf.tag('tax_group')%]
Information content: [%total_ic = formatf(3, tf.to_ICM.total_ic)%] [%IF total_ic > high_matrix_ic or total_ic < low_matrix_ic%] [%total_ic%] [%ELSE%] [%total_ic%] [%END%]
GC content: [%gc = formatf(3, tf.tag('gc_content'))%] [%IF gc > high_matrix_gc or gc < low_matrix_gc%] [%gc%] [%ELSE%] [%gc%] [%END%]

Conserved [%tf.name%] Binding Sites

[%UNLESS gene_id_type == dflt_gene_id_type%] [%END%] [%IF has_operon%] [%END%] [%FOREACH gene = genes%] [%gid = gene.id%] [%ensembl_id = gene.ensembl_id()%] [%chr = gene.chr()%] [%gene_start = gene.start()%] [%gene_end = gene.end()%] [%strand = gene.strand()%] [%tss = gene.tss()%] [%promoters = gene.fetch_promoters()%] [%IF has_operon%] [%operon = gene.fetch_operon()%] [%END%] [%IF operon%] [%operon_start = operon.start()%] [%operon_end = operon.end()%] [%IF strand == 1%] [%prom_start = tss%] [%prom_end = operon_end%] [%ELSE%] [%prom_start = operon_start%] [%prom_end = tss%] [%END%] [%ELSE%] [%IF strand == 1%] [%prom_start = tss%] [%prom_end = gene_end%] [%ELSE%] [%prom_start = gene_start%] [%prom_end = tss%] [%END%] [%END%] [%IF has_operon and operon_genes.$gid%] [%UNLESS gene_id_type == dflt_gene_id_type%] [%id_str = ''%] [%first_id = 1%] [%FOREACH input_gene = operon_genes.$gid%] [%input_gid = input_gene.id%] [%gene_ids = gid_gene_ids.$input_gid%] [%FOREACH gene_id = gene_ids%] [%UNLESS first_id%] [%id_str = id_str _ ','%] [%END%] [%first_id = 0%] [%id_str = id_str _ gene_id%] [%END%] [%END%] [%END%] [%id_str = ''%] [%first_id = 1%] [%FOREACH input_gene = operon_genes.$gid%] [%UNLESS first_id%] [%id_str = id_str _ ','%] [%END%] [%first_id = 0%] [%id_str = id_str _ input_gene.ensembl_id()%] [%END%] [%ELSE%] [%UNLESS gene_id_type == dflt_gene_id_type%] [%id_str = ''%] [%first_id = 1%] [%gene_ids = gid_gene_ids.$gid%] [%FOREACH gene_id = gene_ids%] [%UNLESS first_id%] [%id_str = id_str _ ','%] [%END%] [%first_id = 0%] [%id_str = id_str _ gene_id%] [%END%] [%END%] [%END%] [%IF has_operon%] [%IF operon%] [%ELSE%] [%END%] [%END%] [%first = 1%] [%FOREACH site = gid_tfbss.$gid%] [%site_start = gene_start + site.start - 1%] [%site_end = gene_start + site.end - 1%] [%closest_tss = tss%] [%min_tss_dist = 999999%] [%FOREACH promoter = promoters%] [%tss = promoter.tss()%] [%start_tss_dist = site_start - tss%] [%end_tss_dist = site_end - tss%] [%IF start_tss_dist < 0%] [%start_tss_dist = start_tss_dist * -1%] [%END%] [%IF end_tss_dist < 0%] [%end_tss_dist = end_tss_dist * -1%] [%END%] [%IF start_tss_dist < min_tss_dist%] [%min_tss_dist = start_tss_dist%] [%closest_tss = tss%] [%END%] [%IF end_tss_dist < min_tss_dist%] [%min_tss_dist = end_tss_dist%] [%closest_tss = tss%] [%END%] [%END%] [%IF strand == 1%] [%rel_start = site_start - closest_tss%] [%IF site_start >= closest_tss%] [%rel_start = rel_start + 1%] [%END%] [%rel_end = site_end - closest_tss%] [%IF site_end >= closest_tss%] [%rel_end = rel_end + 1%] [%END%] [%ELSE%] [%rel_start = closest_tss - site_start%] [%IF site_start <= closest_tss%] [%rel_start = rel_start + 1%] [%END%] [%rel_end = closest_tss - site_end%] [%IF site_end <= closest_tss%] [%rel_end = rel_end + 1%] [%END%] [%temp = rel_end%] [%rel_end = rel_start%] [%rel_start = temp%] [%END%] [%UNLESS first == 1%] [%IF has_operon%] [%END%] [%UNLESS gene_id_type == dflt_gene_id_type%] [%END%] [%END%] [%first = 0%] [%END%] [%END%]
Gene ID(s)Ensembl ID(s)Operon IDChr Gene Start Gene End Strand Nearest TSS TFBS Start TFBS End TFBS Rel. Start TFBS Rel. End TFBS Strand Score %Score TFBS Sequence
[%id_str%][%id_str%][%id_str%][%ensembl_id%][%operon.symbol()%]NA[%chr%] [%prom_start%] [%prom_end%] [%IF strand == 1%]+[%ELSE%]-[%END%]
[%closest_tss%] [%site_start%] [%site_end%] [%rel_start%] [%rel_end%] [%IF site.strand() == 1%]+[%ELSE%]-[%END%] [%site.score()%] [%site.rel_score() * 100%]% [%site.seq()%]

Download as a tab delimited text file (results will be kept on the server for [%result_retain_days%] days after analysis)

Back to top