Skip to content

Commit 31333af

Browse files
committed
Work with assemble hg19 or hg37 keyword
1 parent b925bf9 commit 31333af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

biojava-genome/src/main/java/org/biojava/nbio/genome/parsers/twobit/SimpleTwoBitFileProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static synchronized void downloadIfNoTwoBitFileExists(File twoBitFileLoca
5050
public static URL getTwoBitURL(String genomeAssembly) throws MalformedURLException {
5151

5252
String url="";
53-
if (genomeAssembly.equals("hg19")) {
53+
if ( genomeAssembly.equals("hg19") || genomeAssembly.equals("hg37") ) {
5454
url = "http://cdn.rcsb.org/gene/hg37/hg19.2bit";
5555
}
5656
else if (genomeAssembly.equals("hg38")) {

0 commit comments

Comments
 (0)