Skip to content

Commit 89831a6

Browse files
committed
download: fix PFM in gene downloader
1 parent e2170df commit 89831a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cellbase-lib/src/main/java/org/opencb/cellbase/lib/download/RegulationDownloadManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,8 @@ private void loadPfmMatrices() throws IOException, NoSuchMethodException, FileFo
126126
CellBaseSerializer serializer = new CellBaseJsonFileSerializer(buildFolder, "regulatory_pfm", true);
127127
logger.info("Looking up " + motifIds.size() + " pfms");
128128
for (String pfmId : motifIds) {
129-
String urlString = "https://rest.ensembl.org/species/homo_sapiens/binding_matrix/ENSPFM" + pfmId
129+
String urlString = "https://rest.ensembl.org/species/homo_sapiens/binding_matrix/" + pfmId
130130
+ "?unit=frequencies;content-type=application/json";
131-
System.out.println(urlString);
132131
URL url = new URL(urlString);
133132
RegulatoryPfm regulatoryPfm = mapper.readValue(url, RegulatoryPfm.class);
134133
serializer.serialize(regulatoryPfm);

0 commit comments

Comments
 (0)