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
ac1c64c4
Commit
ac1c64c4
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Add median TIN to mRNA_QC table
parent
64fc509b
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!58
Develop
,
!57
Prep of 1.0.0 release
Pipeline
#8928
canceled with stages
in 4 minutes and 28 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
workflow/rna-seq.nf
+9
-2
9 additions, 2 deletions
workflow/rna-seq.nf
workflow/scripts/upload_qc.py
+3
-0
3 additions, 0 deletions
workflow/scripts/upload_qc.py
with
14 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
ac1c64c4
...
...
@@ -389,7 +389,7 @@ uploadQC:
done
echo all old mRNA QC RIDs deleted
fi
rid=$(singularity run 'docker://gudmaprbk/deriva1.4:1.0.0' python3 ./workflow/scripts/upload_qc.py -r 17-BTFJ -e 17-BVDJ -p "Single Read" -s forward -l 35 -w 5 -f 1 -n "This is a test mRNA QC" -o staging.gudmap.org -c ${cookie} -u F)
rid=$(singularity run 'docker://gudmaprbk/deriva1.4:1.0.0' python3 ./workflow/scripts/upload_qc.py -r 17-BTFJ -e 17-BVDJ -p "Single Read" -s forward -l 35 -w 5 -f 1
-t 1
-n "This is a test mRNA QC" -o staging.gudmap.org -c ${cookie} -u F)
echo ${rid} test mRNA QC created
uploadProcessedFile
:
...
...
This diff is collapsed.
Click to expand it.
CHANGELOG.md
+
1
−
0
View file @
ac1c64c4
# v1.0.0 (in development)
**User Facing**
*
Add link to reference builder script
*
Output median TIN to mRNA_QC table
**Background**
*
Change consistency test to check if +/- 1% of standard
...
...
This diff is collapsed.
Click to expand it.
workflow/rna-seq.nf
+
9
−
2
View file @
ac1c64c4
...
...
@@ -1734,6 +1734,12 @@ tinMedInfer_fl.splitCsv(sep: ",", header: false).separate(
tinMedInfer
)
// Replicate inferred median TIN for multiple process inputs
tinMedInfer.into {
tinMedInfer_aggrQC
tinMedInfer_uploadQC
}
/*
*aggrQC: aggregate QC from processes as well as metadata and run MultiQC
*/
...
...
@@ -1769,7 +1775,7 @@ process aggrQC {
val readLengthI from readLengthInfer_aggrQC
val rawReadsI from rawReadsInfer_aggrQC
val assignedReadsI from assignedReadsInfer_aggrQC
val tinMedI from tinMedInfer
val tinMedI from tinMedInfer
_aggrQC
val studyRID from studyRID_aggrQC
val expRID from expRID_aggrQC
val fastqCountError_aggrQC
...
...
@@ -1869,6 +1875,7 @@ process uploadQC {
val length from readLengthInfer_uploadQC
val rawCount from rawReadsInfer_uploadQC
val finalCount from assignedReadsInfer_uploadQC
val tinMed from tinMedInfer_uploadQC
val fastqCountError_uploadQC
val fastqReadError_uploadQC
val speciesError_uploadQC
...
...
@@ -1912,7 +1919,7 @@ process uploadQC {
echo LOG: all old mRNA QC RIDs deleted >> ${repRID}.uploadQC.log
fi
qc_rid=\$(python3 ${script_uploadQC} -r ${repRID} -e ${executionRunRID} -p "\${end}" -s ${stranded} -l ${length} -w ${rawCount} -f ${finalCount} -o ${source} -c \${cookie} -u F)
qc_rid=\$(python3 ${script_uploadQC} -r ${repRID} -e ${executionRunRID} -p "\${end}" -s ${stranded} -l ${length} -w ${rawCount} -f ${finalCount}
-t ${tinMed}
-o ${source} -c \${cookie} -u F)
echo LOG: mRNA QC RID uploaded - \${qc_rid} >> ${repRID}.uploadQC.log
echo "\${qc_rid}" > qcRID.csv
...
...
This diff is collapsed.
Click to expand it.
workflow/scripts/upload_qc.py
+
3
−
0
View file @
ac1c64c4
...
...
@@ -12,6 +12,7 @@ def get_args():
parser
.
add_argument
(
'
-l
'
,
'
--length
'
,
help
=
"
median read length
"
,
required
=
True
)
parser
.
add_argument
(
'
-w
'
,
'
--rawCount
'
,
help
=
"
raw count
"
,
required
=
True
)
parser
.
add_argument
(
'
-f
'
,
'
--assignedCount
'
,
help
=
"
final assigned count
"
,
required
=
True
)
parser
.
add_argument
(
'
-t
'
,
'
--tin
'
,
help
=
"
median TIN
"
,
required
=
True
)
parser
.
add_argument
(
'
-n
'
,
'
--notes
'
,
help
=
"
notes
"
,
default
=
""
,
required
=
False
)
parser
.
add_argument
(
'
-o
'
,
'
--host
'
,
help
=
"
datahub host
"
,
required
=
True
)
parser
.
add_argument
(
'
-c
'
,
'
--cookie
'
,
help
=
"
cookie token
"
,
required
=
True
)
...
...
@@ -33,6 +34,7 @@ def main(hostname, catalog_number, credential):
"
Median_Read_Length
"
:
args
.
length
,
"
Raw_Count
"
:
args
.
rawCount
,
"
Final_Count
"
:
args
.
assignedCount
,
"
Median_TIN
"
:
args
.
tin
,
"
Notes
"
:
args
.
notes
}
entities
=
run_table
.
insert
([
run_data
])
...
...
@@ -47,6 +49,7 @@ def main(hostname, catalog_number, credential):
"
Median_Read_Length
"
:
args
.
length
,
"
Raw_Count
"
:
args
.
rawCount
,
"
Final_Count
"
:
args
.
assignedCount
,
"
Median_TIN
"
:
args
.
tin
,
"
Notes
"
:
args
.
notes
}
entities
=
run_table
.
update
([
run_data
])
...
...
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