Skip to content

Commit 74ae020

Browse files
authored
Merge pull request #283 from LabKey/fb_merge_25.11_to_develop
Merge 25.11 to develop
2 parents 9685f68 + e2300f6 commit 74ae020

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

mGAP/resources/web/mGAP/DownloadWindow.js

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ Ext4.define('mGAP.window.DownloadWindow', {
5454

5555
LDK.Assert.assertNotEmpty('Missing objectId variantCatalogReleases', results.rows[0].objectId);
5656

57-
var releaseVcf = results.rows[0].objectId + '/' + results.rows[0]['vcfId/dataid/Name'];
58-
var urlFasta = results.rows[0]['vcfId/library_id/fasta_file/Name'];
59-
var sitesOnlyVcf = results.rows[0].objectId + '/' + results.rows[0]['sitesOnlyVcfId/dataid/Name'];
57+
var releaseVcfWithGUID = results.rows[0].objectId + '/' + results.rows[0]['vcfId/dataid/Name'];
58+
var sitesOnlyVcfWithGUID = results.rows[0].objectId + '/' + results.rows[0]['sitesOnlyVcfId/dataid/Name'];
59+
var genomeFasta = results.rows[0]['vcfId/library_id/fasta_file/Name'];
60+
var genomeDict = genomeFasta.replace(/fasta$/, 'dict')
6061

6162
const getFileName = function(path){
6263
path = path.split('/');
@@ -66,16 +67,16 @@ Ext4.define('mGAP.window.DownloadWindow', {
6667
var toAdd = [{
6768
html: 'Due to the large file size, the preferred option is to download using wget or curl on the command line, such as the exmaples below. Nonetheless, you also are able to paste the URLs into your browser and download through this way as well, although it will be slower and possibly not able to resume if your connection is disrupted.<br><br>' +
6869
'Use these to download the VCF and index. Note, -C will allow file resume if the download is disrupted:<br>' +
69-
'<pre>curl -C - -o ' + getFileName(releaseVcf) + ' https://mgapdownload.ohsu.edu/' + releaseVcf + '<br>' +
70-
'curl -C - -o ' + getFileName(releaseVcf) + ' https://mgapdownload.ohsu.edu/' + releaseVcf + '.tbi</pre>' +
71-
(sitesOnlyVcf ?
70+
'<pre>curl -C - -o ' + getFileName(releaseVcfWithGUID) + ' https://mgapdownload.ohsu.edu/' + releaseVcfWithGUID + '<br>' +
71+
'curl -C - -o ' + getFileName(releaseVcfWithGUID) + '.tbi' + ' https://mgapdownload.ohsu.edu/' + releaseVcfWithGUID + '.tbi</pre>' +
72+
(sitesOnlyVcfWithGUID ?
7273
'or a VCF without genotypes (considerably smaller):<br>' +
73-
'<pre>curl -C - -o ' + getFileName(releaseVcf) + ' https://mgapdownload.ohsu.edu/' + sitesOnlyVcf + '<br>' +
74-
'curl -C - -o ' + getFileName(releaseVcf) + ' https://mgapdownload.ohsu.edu/' + sitesOnlyVcf + '.tbi</pre>' : '') +
74+
'<pre>curl -C - -o ' + getFileName(sitesOnlyVcfWithGUID) + ' https://mgapdownload.ohsu.edu/' + sitesOnlyVcfWithGUID + '<br>' +
75+
'curl -C - -o ' + getFileName(sitesOnlyVcfWithGUID) + '.tbi' + ' https://mgapdownload.ohsu.edu/' + sitesOnlyVcfWithGUID + '.tbi</pre>' : '') +
7576
'and genome:<br>' +
76-
'<pre>curl -C - -o ' + getFileName(releaseVcf) + ' https://mgapdownload.ohsu.edu/genomes/' + urlFasta + '<br>' +
77-
'curl -C - -o ' + getFileName(releaseVcf) + ' https://mgapdownload.ohsu.edu/genomes/' + urlFasta + '.fai<br>' +
78-
'curl -C - -o ' + getFileName(releaseVcf) + ' https://mgapdownload.ohsu.edu/genomes/' + urlFasta.replace(/fasta$/, 'dict') + '</pre>'
77+
'<pre>curl -C - -o ' + getFileName(genomeFasta) + ' https://mgapdownload.ohsu.edu/genomes/' + genomeFasta + '<br>' +
78+
'curl -C - -o ' + getFileName(genomeFasta) + '.fai' + ' https://mgapdownload.ohsu.edu/genomes/' + genomeFasta + '.fai<br>' +
79+
'curl -C - -o ' + getFileName(genomeDict) + ' https://mgapdownload.ohsu.edu/genomes/' + genomeDict + '</pre>'
7980
},{
8081
html: '<br><b>mGAP is an NIH funded project. If you use these data in a publication, we ask that you please include R24 OD021324 in the acknowledgements.</b>',
8182
border: false,

primeseq/src/org/labkey/primeseq/pipeline/SequenceJobResourceAllocator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ private boolean isSequenceAlignmentTask(PipelineJob job)
6969
return (job.getActiveTaskId() != null && job.getActiveTaskId().getNamespaceClass().getName().endsWith("SequenceAlignmentTask"));
7070
}
7171

72-
private boolean isCacheAlignerIndexesTask(PipelineJob job)
72+
private boolean isCacheOrPrepareAlignerIndexesTask(PipelineJob job)
7373
{
74-
return (job.getActiveTaskId() != null && job.getActiveTaskId().getNamespaceClass().getName().endsWith("CacheAlignerIndexesTask"));
74+
return (job.getActiveTaskId() != null && (job.getActiveTaskId().getNamespaceClass().getName().endsWith("CacheAlignerIndexesTask") || job.getActiveTaskId().getNamespaceClass().getName().endsWith("PrepareAlignerIndexesTask")));
7575
}
7676

7777
private boolean isSequenceSequenceOutputHandlerTask(PipelineJob job)
@@ -188,7 +188,7 @@ public Integer getMaxRequestMemory(PipelineJob job)
188188
return 96;
189189
}
190190

191-
if (isCacheAlignerIndexesTask(job))
191+
if (isCacheOrPrepareAlignerIndexesTask(job))
192192
{
193193
int mem = getAlignerIndexMem(job);
194194
job.getLogger().debug("setting memory to: " + mem);

tcrdb/resources/schemas/tcrdb.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<columnTitle>Clonotype</columnTitle>
130130
</column>
131131
<column columnName="activationFrequency">
132-
<columnTitle>Activated Freq</columnTitle>
132+
<columnTitle>Activated Freq (of parent population)</columnTitle>
133133
</column>
134134
<column columnName="backgroundFrequency">
135135
<columnTitle>Background Freq</columnTitle>

0 commit comments

Comments
 (0)