Python script calculating transposable element density for all genes in a genome. Publication: https://mobilednajournal.biomedcentral.com/articles/10.1186/s13100-022-00264-4
Post processing, flip density values for "left" and "right" based on if a gene is in antisense direction. Refer to the gene annotation for this information.
Then rename left/right outputs to "upstream/downstream".
Post processing, flip density values for "left" and "right" based on if a gene is in antisense direction. Refer to the gene annotation for this information.
Then rename left/right outputs to "upstream/downstream".