Here are the first lines of the gtf file:
chr1 ensembl_havana gene 5588466 5606131 . + . gene_id "ENSMUSG00000025905"; gene_version "14"; gene_name "Oprk1"; gene_source "ensembl_havana"; gene_biotype "protein_coding";
chr1 ensembl_havana gene 6206197 6276648 . + . gene_id "ENSMUSG00000025907"; gene_version "14"; gene_name "Rb1cc1"; gene_source "ensembl_havana"; gene_biotype "protein_coding";
chr1 ensembl_havana gene 6359218 6394731 . + . gene_id "ENSMUSG00000087247"; gene_version "3"; gene_name "Alkal1"; gene_source "ensembl_havana"; gene_biotype "protein_coding";
I was hoping to directly use the gtf file without having to convert to a bed file to avoid having to switch between 1- and 0-based coordinates.
I have now tried:
computeMatrix reference-point \
--referencePoint TSS \
--scoreFileName input.bw \
--regionsFileName test.gtf \
-out TSSmeta.gz \
--beforeRegionStartLength 2000 --afterRegionStartLength 2000 \
--binSize 20 \
--missingDataAsZero \
--sortRegions no
--transcriptID gene \
--transcript_id_designator gene_id
It ran through without errors and the result from plotHeatmap looks reasonable. But now I am doubting whether setting --transcript ID gene and --transcript_id_designator gene_id is in in this specific case correct (trying to get the signal over entire genes instead of transcripts)