arq5x / bedtools2

bedtools - the swiss army knife for genome arithmetic
MIT License
939 stars 287 forks source link

Option to skip first line #1090

Open bskubi opened 7 months ago

bskubi commented 7 months ago

I frequently work with tools that write .bed or .bedpe-type files with a header row. It would be really convenient to be able to skip the first row (or read from stdin) when using bedtools. I'm particularly running into this issue with bedtools shuffle at the moment. As far as I can tell, the necessary workaround is to duplicate the file sans header. Thank you for making and maintaining this great tool!