This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bed File Coordinates

Hi all, In a spreadsheet i have my list of rs# with their chromosomal number and locations. I want to generate a BED file for these variants. I wanted to know if the start and end coordinates should be the same or should they be offset by 1.

For e.g. Chr1:1000,1000 or Chr1:1000,1001 or Chr1:999,1000

where 1000 is the chromosomal coordinate for that rs#.

the BED file will be used as an input region file to query a VCF file using tabix.

thanks in advance. a

bed tabix

Sorry, could you please say what rs# means, google didn't helped me as well :)

if the line begins with it then it becomes the markdown symbol for starting a header, (disclaimer: I did not invent that)

maybe it should be removed for comments? I could see how this could get out of hand.

you can just edit and fix it, it needs to be in a code block like so #rs1

I was thinking more about consistency of comments and people being annoying :-).

1 answer

Directly from Tabix.

-e INT   Column of end chromosomal position. The end column can be the same as the start column. [5]

So yes: Start = Stop

Log in to answer this question.