sjteresi / TE_Density

Python script calculating transposable element density for all genes in a genome. Publication: https://mobilednajournal.biomedcentral.com/articles/10.1186/s13100-022-00264-4
GNU General Public License v3.0
30 stars 4 forks source link

Fix method to correctly address edge case of missing data. #119

Closed sjteresi closed 2 years ago

sjteresi commented 2 years ago

Previously tried to address edge case where if a user provided a gene annotation that did NOT have sense or antisense strand information in their gene annotation (i.e the value of '.') the program would autoformat those to sense strand (i.e '+'). This is described more in the documentation.

I was addressing this edge case wrong and was making that entire row have the value of '+'. This commit fixes that and does what I originally intended to do.