dputhier / pygtftk

A python package and a set of shell commands to handle GTF files
GNU General Public License v3.0
45 stars 6 forks source link

Change gene to exon in ologram example #94

Closed dputhier closed 5 years ago

dputhier commented 5 years ago

In this example:

  gtftk join_attr -i mini_real.gtf.gz -H -j mini_real_counts_ENCFF630HEX.tsv -k gene_name -n exprs -t gene | gtftk discretize_key -k exprs -p -d exprs_class -n 6   | gtftk ologram -p ENCFF112BHN_H3K4me3_K562_sub.bed -c hg38.genome -D -n -m exprs_class -if example_pa_03.pdf -k 8 -j summed_bp_overlaps_pvalue

It would be more natural to bind exprs key to exons, not to genes.

dputhier commented 5 years ago

fix in 0a4cb4b86ad8e0dedf34af62ac053acbf0a896c1