Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
GUDMAP_RBK
RNA-seq
Commits
d78689ad
Commit
d78689ad
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Only used fastq's named correctly
parent
51f9e8ff
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!65
Develop
,
!64
Resolve "samtools sort: couldn't allocate memory for bam_mem"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+3
-0
3 additions, 0 deletions
CHANGELOG.md
workflow/rna-seq.nf
+10
-6
10 additions, 6 deletions
workflow/rna-seq.nf
workflow/scripts/bdbag_fetch.sh
+1
-1
1 addition, 1 deletion
workflow/scripts/bdbag_fetch.sh
with
14 additions
and
7 deletions
CHANGELOG.md
+
3
−
0
View file @
d78689ad
...
...
@@ -5,6 +5,9 @@
*
Add memory limit per thread for samtools sort (#108)
*
Remove parsing restrictions for submitted stranded/spike/species (#105, #106)
*
Pass unidentified ends instead of overwriting it as unknown
*
Move fastqc process before trim to catch fastq errors (#107)
*
Only use fastq's that match
*
.R[1,2].fastq.gz naming convention (#107)
*
Add error output for no fastq's
*Known Bugs*
*
Override params (inputBag, fastq, species) aren't checked for integrity
...
...
This diff is collapsed.
Click to expand it.
workflow/rna-seq.nf
+
10
−
6
View file @
d78689ad
...
...
@@ -287,7 +287,7 @@ if (fastqsForce != "") {
fastqs_fastqc
}
} else {
fastqs.into {
fastqs.
collect().
into {
fastqs_parseMetadata
fastqs_fastqc
}
...
...
@@ -304,7 +304,7 @@ process parseMetadata {
path file from fileMeta
path experimentSettings, stageAs: "ExperimentSettings.csv" from experimentSettingsMeta
path experiment from experimentMeta
path (fastq) from fastqs_parseMetadata
path (fastq) from fastqs_parseMetadata
.collect()
val fastqCount
output:
...
...
@@ -376,6 +376,10 @@ process parseMetadata {
then
fastqCountError=true
fastqCountError_details="**Too many fastqs detected (>2)**"
elif [ "${fastqCount}" -eq "0" ]
then
fastqCountError=true
fastqCountError_details="**No valid fastqs detected (may not match .R{1,2}.fastq.gz convention)**"
elif [ "\${endsMeta}" == "se" ] && [ "${fastqCount}" -ne "1" ]
then
fastqCountError=true
...
...
@@ -486,6 +490,7 @@ fastqError_fl.splitCsv(sep: ",", header: false).separate(
// Replicate errors for multiple process inputs
fastqCountError.into {
fastqCountError_fastqc
fastqCountError_trimData
fastqCountError_getRefInfer
fastqCountError_downsampleData
...
...
@@ -498,7 +503,6 @@ fastqCountError.into {
fastqCountError_dedupData
fastqCountError_makeBigWig
fastqCountError_countData
fastqCountError_fastqc
fastqCountError_dataQC
fastqCountError_aggrQC
fastqCountError_uploadQC
...
...
@@ -507,6 +511,7 @@ fastqCountError.into {
fastqCountError_failPreExecutionRun_fastq
}
fastqReadError.into {
fastqReadError_fastqc
fastqReadError_trimData
fastqReadError_getRefInfer
fastqReadError_downsampleData
...
...
@@ -519,7 +524,6 @@ fastqReadError.into {
fastqReadError_dedupData
fastqReadError_makeBigWig
fastqReadError_countData
fastqReadError_fastqc
fastqReadError_dataQC
fastqReadError_aggrQC
fastqReadError_uploadQC
...
...
@@ -535,12 +539,12 @@ process fastqc {
tag "${repRID}"
input:
path (fastq) from fastqs_fastqc
path (fastq) from fastqs_fastqc
.collect()
val fastqCountError_fastqc
val fastqReadError_fastqc
output:
path ("*.fastq.gz", includeInputs:true) into fastqs_trimData
path ("*.
R{1,2}.
fastq.gz", includeInputs:true) into fastqs_trimData
path ("*_fastqc.zip") into fastqc
path ("rawReads.csv") into rawReadsInfer_fl
...
...
This diff is collapsed.
Click to expand it.
workflow/scripts/bdbag_fetch.sh
+
1
−
1
View file @
d78689ad
...
...
@@ -18,7 +18,7 @@ if [ "${validate}" != "is valid" ]
then
exit
1
fi
for
i
in
$(
find
*
/
-name
"*
R*
.fastq.gz"
)
for
i
in
$(
find
*
/
-name
"*
.R[1-2]
.fastq.gz"
)
do
path
=
${
2
}
.
$(
echo
${
i
##*/
}
|
grep
-o
"R[1,2].fastq.gz"
)
cp
${
i
}
./
${
path
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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