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
58b6ce0e
Commit
58b6ce0e
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Update filenames to new convention
parent
b3a65d91
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!58
Develop
,
!53
Resolve "process_derivaUpload"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/rna-seq.nf
+5
-5
5 additions, 5 deletions
workflow/rna-seq.nf
with
5 additions
and
5 deletions
workflow/rna-seq.nf
+
5
−
5
View file @
58b6ce0e
...
...
@@ -988,7 +988,7 @@ process makeBigWig {
tuple path (bam), path (bai) from dedupBam_makeBigWig
output:
path ("${repRID}.bw") into bigwig
path ("${repRID}
_sorted.deduped
.bw") into bigwig
script:
"""
...
...
@@ -1019,7 +1019,7 @@ process countData {
output:
path ("*_tpmTable.csv") into counts
path ("*
.
countData.summary") into countsQC
path ("*
_
countData.summary") into countsQC
path ("assignedReads.csv") into assignedReadsInfer_fl
script:
...
...
@@ -1055,11 +1055,11 @@ process countData {
echo -e "LOG: counted" >> ${repRID}.countData.log
# extract assigned reads
grep -m 1 'Assigned' *
.
countData.summary | grep -oe '\\([0-9.]*\\)' > assignedReads.csv
grep -m 1 'Assigned' *
_
countData.summary | grep -oe '\\([0-9.]*\\)' > assignedReads.csv
# calculate TPM from the resulting countData table
echo -e "LOG: calculating TPM with R" >> ${repRID}.countData.log
Rscript calculateTPM.R --count "${repRID}
.
countData"
Rscript calculateTPM.R --count "${repRID}
_
countData"
# convert gene symbols to Entrez id's
echo -e "LOG: convert gene symbols to Entrez id's" >> ${repRID}.countData.log
...
...
@@ -1463,7 +1463,7 @@ process uploadQC {
exist=\$(curl -s https://${source}/ermrest/catalog/2/entity/RNASeq:mRNA_QC/Replicate=${repRID})
if [ "\${exist}" != "[]" ]
then
rids=\$(echo
$
exist | grep -o '\\"RID\\":\\".\\{7\\}' | sed 's/^.\\{7\\}//')
rids=\$(echo
\${
exist
}
| grep -o '\\"RID\\":\\".\\{7\\}' | sed 's/^.\\{7\\}//')
for rid in \${rids}
do
python3 deleteEntry.py -r \${rid} -t mRNA_QC -o ${source} -c \${cookie}
...
...
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