vaquerizaslab / tadtool

TADtool is an interactive tool for the identification of meaningful parameters in TAD-calling algorithms for Hi-C data.
MIT License
43 stars 13 forks source link

BED file should be 0-based, but examples here are 1-based #8

Closed hansiu closed 7 years ago

hansiu commented 7 years ago

Hey,

As detailed here: https://genome.ucsc.edu/FAQ/FAQformat.html#format1 BED format, including BED3 is 0-based:

And in TADtool examples folder both BED files are 1-based (starting with one and the end is included).

So i.e the line: chr12 19975001 20000000 should be: chr12 19975000 20000000

I didn't check the rest of the code but probably this change could affect the algorithms too.

Letting you know to help avoid further users confusion :)

Thank you for developing TADtool! Hania

vaquerizaslab-old commented 7 years ago

Dear Hania,

thank you for your detailed description of the issue. I have just uploaded the latest set of changes, which should also fix this issue. Example files are now BED3 compliant, as is the expected in- and output.

Let us know if you encounter any problems!