Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Column Description in .bed File Documentation #29

Open
SABiagini opened this issue Aug 19, 2024 · 0 comments
Open

Incorrect Column Description in .bed File Documentation #29

SABiagini opened this issue Aug 19, 2024 · 0 comments

Comments

@SABiagini
Copy link

Hi,

I’ve noticed an error in the documentation regarding the .bed file format.

Currently, the instructions state:

“Provide position and position+1 in the 2nd and 3rd columns.”

However, this should actually be:

“Provide position-1 in the 2nd column and position in the 3rd column.”

To clarify, the .bed file format uses a zero-based indexing system for the start position. This means the start position (2nd column) is zero-indexed, or position-1, while the end position (3rd column) is one-indexed, simply position.

For example, if your first position is 839494 on chr1, according to the current description, you would write:

1 839494 839495 G T

However, since the .bed format is zero-based, the correct format should be:

1 839493 839494 G T

This adjustment ensures that the data is correctly aligned with the zero-based format, where the start position is zero-indexed.

Best,

S.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant