You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a pipeline using STAR aligner. The task involves sequentially aligning fastq files to the same genome index. To speed up the alignment, I figured that the "shared memory" feature can be used to avoid repeatedly loading and un-loading the genome index.
I have tried and successfully achieved this with STAR pre-built on my machine or STAR built by the integrated package management in snakemake.
I reallly want to use the Snakemake wrapper to do this as it provides better transportability. However, the "STAR align" wrapper requires "fq1" as a minimum input which prevents the "un-load" step of STAR genome index.
The shell command for STAR to unload genome doesn't have any input or output, which is why the current wrapper cannot be used:
STAR --genomeLoad Remove --genomeDir {input.index}
Would it be possible to modify the existing code to make this feature possible?
It may be even better to add a new wrapper sub-commands under star (i.e. STAR GENOMELOAD) that incorporates both --genomeLoad LoadAndExit and --genomeLoad Remove options.
The text was updated successfully, but these errors were encountered:
I'm also interested in this feature. Unfortunately the provided links do not work.
Where can I find documentation about how to use shared memory in STAR wrapper?
This is a duplicate issue of
snakemake/snakemake#1259 (comment)
I'm writing a pipeline using STAR aligner. The task involves sequentially aligning fastq files to the same genome index. To speed up the alignment, I figured that the "shared memory" feature can be used to avoid repeatedly loading and un-loading the genome index.
I have tried and successfully achieved this with STAR pre-built on my machine or STAR built by the integrated package management in snakemake.
I reallly want to use the Snakemake wrapper to do this as it provides better transportability. However, the "STAR align" wrapper requires "fq1" as a minimum input which prevents the "un-load" step of STAR genome index.
The shell command for STAR to unload genome doesn't have any input or output, which is why the current wrapper cannot be used:
STAR --genomeLoad Remove --genomeDir {input.index}
Would it be possible to modify the existing code to make this feature possible?
It may be even better to add a new wrapper sub-commands under star (i.e.
STAR GENOMELOAD
) that incorporates both--genomeLoad LoadAndExit
and--genomeLoad Remove
options.The text was updated successfully, but these errors were encountered: