Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tasks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
biowdl
tasks
Commits
147a115c
Commit
147a115c
authored
5 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
add task for STAR index generation
parent
6a93ad83
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
star.wdl
+64
-0
64 additions, 0 deletions
star.wdl
with
64 additions
and
0 deletions
star.wdl
+
64
−
0
View file @
147a115c
...
...
@@ -20,6 +20,70 @@ version 1.0
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
task GenomeGenerate {
input {
String genomeDir = "STAR_index"
File referenceFasta
File? referenceGtf
Int? sjdbOverhang
Int threads = 4
String memory = "60G"
String dockerImage = "quay.io/biocontainers/star:2.7.3a--0"
}
command {
set -e
mkdir -p "$(dirname ~{genomeDir})"
STAR \
--runMode genomeGenerate \
--runThreadN ~{threads} \
--genomeDir ~{genomeDir} \
--genomeFastaFiles ~{referenceFasta} \
~{"--sjdbGTFfile " + referenceGtf} \
~{"--sjdbOverhang " + sjdbOverhang}
}
output {
File chrLength = "~{genomeDir}/chrLength.txt"
File chrNameLength = "~{genomeDir}/chrNameLength.txt"
File chrName = "~{genomeDir}/chrName.txt"
File chrStart = "~{genomeDir}/chrStart.txt"
File genome = "~{genomeDir}/genome.txt"
File genomeParameters = "~{genomeDir}/genomeParameters.txt"
File sa = "~{genomeDir}/SA"
File saIndex = "~{genomeDir}/SAindex"
File? exonGeTrInfo = "~{genomeDir}/exonGeTrInfo.tab"
File? exonInfo = "~{genomeDir}/exonInfo.tab"
File? geneInfo = "~{genomeDir}/geneInfo.tab"
File? sjdbInfo = "~{genomeDir}/sjdbInfo.txt"
File? sjdbListFromGtfOut = "~{genomeDir}/sjdbList.fromGTF.out.tab"
File? sjdbListOut = "~{genomeDir}/sjdbList.out.tab"
File? transcriptInfo = "~{genomeDir}/transcriptInfo.tab"
Array[File] starIndex = select_all([chrLength, chrNameLength, chrName, chrStart, genome, genomeParameters,
sa, saIndex, exonGeTrInfo, exonInfo, geneInfo, sjdbInfo, sjdbListFromGtfOut,
sjdbListOut, transcriptInfo])
}
runtime {
cpu: threads
memory: memory
docker: dockerImage
}
parameter_meta {
genomeDir: {description:"The directory the STAR index should be written to.", categroy: "common"}
referenceFasta: {description: "The reference Fasta file.", category: "required"}
referenceGtf: {description: "The reference GTF file.", category: "common"}
sjdbOverhang: {description: "Equivalent to STAR's `--sjdbOverhang` option.", category: "advanced"}
threads: {description: "The number of threads to use.", category: "advanced"}
memory: {description: "The amount of memory this job will use.", category: "advanced"}
dockerImage: {description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.",
category: "advanced"}
}
}
task Star {
input {
Array[File]+ inputR1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment