Correct coordinates in gtfToBed()

Aki Nakao pointed out a problem in gtfToBed(). In earlier versions the function did a basic reformatting without adjusting the coordinate system between gtf and bed (gtf is 1-based, bed however is 0-based).

The function got now the option correctBases=TRUE so that by default one base is substracted from both, that start and the end coordinated to correct for the different coordinate systems

This entry was posted in Update. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*