alyssafrazee / polyester

Bioconductor package "polyester", devel version. RNA-seq read simulator.
http://biorxiv.org/content/early/2014/12/12/006015
89 stars 51 forks source link

Fix to mate2 name creation in generate_fragments.R #56

Closed silva1jos closed 3 years ago

silva1jos commented 6 years ago

When names are assigned to the fragment, the reported lower value for mate2 occurs 1 position after its actual start in the reference. Changing the value to start_pos+fraglens[s]-readlen from start_pos+fraglens[s]-readlen+1, corrects this issue. Additionally, this change makes the difference between the start and end values consistent with mate1, readlen-1.