Skip to content

Commit 9cef5e6

Browse files
committed
Update location of genome symlinks in mGAP
1 parent c8a9f57 commit 9cef5e6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

mGAP/resources/web/mGAP/DownloadWindow.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ Ext4.define('mGAP.window.DownloadWindow', {
6868
'<pre>wget https://mgapdownload.ohsu.edu/' + sitesOnlyVcf + '<br>' +
6969
'wget https://mgapdownload.ohsu.edu/' + sitesOnlyVcf + '.tbi</pre>' : '') +
7070
'and genome:<br>' +
71-
'<pre>wget https://mgapdownload.ohsu.edu/' + urlFasta + '<br>' +
72-
'wget https://mgapdownload.ohsu.edu/' + urlFasta + '.fai<br>' +
73-
'wget https://mgapdownload.ohsu.edu/' + urlFasta.replace(/fasta$/, 'dict') + '</pre>'
71+
'<pre>wget https://mgapdownload.ohsu.edu/genomes/' + urlFasta + '<br>' +
72+
'wget https://mgapdownload.ohsu.edu/genomes/' + urlFasta + '.fai<br>' +
73+
'wget https://mgapdownload.ohsu.edu/genomes/' + urlFasta.replace(/fasta$/, 'dict') + '</pre>'
7474
},{
7575
html: '<br><b>mGAP is an NIH funded project. If you use these data in a publication, we ask that you please include R24OD021324 in the acknowledgements.</b>',
7676
border: false,

mGAP/src/org/labkey/mgap/mGapMaintenanceTask.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ private void checkMGapFiles(Logger log, User u)
121121
try
122122
{
123123
ReferenceGenome rg = SequenceAnalysisService.get().getReferenceGenome(genomeId, u);
124-
checkSymlink(log, rg.getSourceFastaFile(), null, commandsToRun);
125-
checkSymlink(log, new File(rg.getSourceFastaFile().getPath() + ".fai"), null, commandsToRun);
126-
checkSymlink(log, new File(rg.getSourceFastaFile().getPath().replace(".fasta", ".dict")), null, commandsToRun);
124+
checkSymlink(log, rg.getSourceFastaFile(), "genomes", commandsToRun);
125+
checkSymlink(log, new File(rg.getSourceFastaFile().getPath() + ".fai"), "genomes", commandsToRun);
126+
checkSymlink(log, new File(rg.getSourceFastaFile().getPath().replace(".fasta", ".dict")), "genomes", commandsToRun);
127127
}
128128
catch (PipelineJobException e)
129129
{

0 commit comments

Comments
 (0)