Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
astrocyte_example_chipseq
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Astrocyte
Workflows
BioHPC
astrocyte_example_chipseq
Merge requests
!2
Basic CI setup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Basic CI setup
CI
into
master
Overview
0
Commits
2
Pipelines
5
Changes
3
Merged
David Trudgian
requested to merge
CI
into
master
6 years ago
Overview
0
Commits
2
Pipelines
5
Changes
3
Expand
0
0
Merge request reports
Compare
master
version 4
dda8cefb
6 years ago
version 3
794aedb6
6 years ago
version 2
0dcd470c
6 years ago
version 1
8eba4bb8
6 years ago
master (base)
and
latest version
latest version
c9b0ac50
2 commits,
6 years ago
version 4
dda8cefb
2 commits,
6 years ago
version 3
794aedb6
2 commits,
6 years ago
version 2
0dcd470c
2 commits,
6 years ago
version 1
8eba4bb8
1 commit,
6 years ago
3 files
+
53
−
13
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
Search (e.g. *.vue) (Ctrl+P)
workflow/main.nf
+
3
−
10
Options
@@ -33,9 +33,6 @@ index_name = file(params.index).name
// Output - pair of fastq & generated sai file into the alignments channel
process bwa_aln {
// Tell Nextflow we will use 32 cpus here for BWA
cpus 32
input:
file fastq_file from fastqs
@@ -57,9 +54,6 @@ process bwa_aln {
// Output - .sam.gz into the samfiles channel, and baseDir/output
process bwa_samse {
// bwa samse will use a single cpu core
cpus 1
// Publish the outputs we create here into the workflow output directory
publishDir "$baseDir/output", mode: 'copy'
@@ -86,10 +80,9 @@ process sam2bam {
// Tell Nextflow picard will only use one cpu.
// We are allocating
32
GB to java though, so tell
// We are allocating
16
GB to java though, so tell
// Nextflow so it can assign the task appropriately.
cpus 1
memory '32GB'
memory '16GB'
// Publish the outputs we create here into the workflow output directory
publishDir "$baseDir/output", mode: 'copy'
@@ -102,7 +95,7 @@ process sam2bam {
"""
module add picard/1.127
java -Xmx
32
G -jar \$PICARD/picard.jar SortSam \
java -Xmx
16
G -jar \$PICARD/picard.jar SortSam \
INPUT="${sam_file}" \
OUTPUT="${sam_file.name}.bam" \
SORT_ORDER=coordinate \