[转自Biostars](https://www.biostars.org/p/84686/)
a python tool to convert between zero and one based coordinate systems
https://github.com/griffithlab/convert_zero_one_based
+ Moving from UCSC browser/tools to Ensembl browser/tools or back
+ Ensembl uses 1-based coordinate system
+ UCSC uses 0-based coordinate system
+ Some file formats are 1-based (GFF, SAM, VCF) and others are 0-based (BED, BAM)