This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* basic nextflow workflow * Updated travis and readme
- Loading branch information
1 parent
14b9de5
commit b12811b
Showing
6 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ services: | |
env: | ||
- LANGUAGE=cwl | ||
- LANGUAGE=wdl | ||
- LANGUAGE=nfl | ||
|
||
notifications: | ||
slack: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env nextflow | ||
|
||
bamFile = file(params.bam_input) | ||
|
||
process bamstats { | ||
input: | ||
file bam_input from bamFile | ||
val mem_gb from params.mem_gb | ||
|
||
output: | ||
file 'bamstats_report.zip' | ||
|
||
""" | ||
bash /usr/local/bin/bamstats $mem_gb $bam_input | ||
""" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
manifest { | ||
description = 'Generate some stats on a BAM file' | ||
author = 'Andrew Duncan' | ||
} | ||
|
||
params { | ||
bam_input = 'rna.SRR948778.bam' | ||
mem_gb = '4' | ||
} | ||
|
||
process.container = 'quay.io/collaboratory/dockstore-tool-bamstats:1.25-6_1.0' | ||
docker { | ||
enabled = true | ||
docker.runOptions = '-u $(id -u):$(id -g)' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters