<p>Is there any way to convert a cytoband location (e.g., 17p13.3) to its genomic coordinates programmatically (i.e., without having to do a manual conversion)? A web API such as BioMart would be ideal, but I haven&#39;t found a way to do it this way. Entrez Eutils would also be okay, but I likewise haven&#39;t been able to figure out how to do it this way.</p>

<pre>
$ CHR=&quot;chr17&quot;
$ LOCATION=&quot;p13.3&quot;
$ wget -qO- &quot;http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/cytoBand.txt.gz&quot; | gunzip -c | grep -F &quot;^${CHR}&quot; | grep -F ${LOCATION} &gt; answer.bed</pre>
