Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Transcript structure generator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zavolan_group
tools
Transcript structure generator
Merge requests
!41
Update Trans_Struc_Gen.nf
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update Trans_Struc_Gen.nf
andri.fraenkl-main-patch-14156
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Andri Fränkl
requested to merge
andri.fraenkl-main-patch-14156
into
main
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
afe63e74
1 commit,
2 years ago
1 file
+
47
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Trans_Struc_Gen.nf
+
47
−
0
Options
@@ -52,3 +52,50 @@ process file_validation {
"""
}
/*
* Define the transcript structure generation
* Read gtf files to define exons/introns and add random mutation coefficient.
*/
process
struc_gen
{
input:
output:
script:
"""
"""
}
/* Start the job:
* initialize variables
*/
Channel
.
fromFilePairs
(
params
.
reads
,
checkIfExists:
true
)
.
set
{
read_pairs_ch
}
/* The "main" function:
* Use CLI arguments to create structure sequences and output text file & gtf file with selected exon structures
*/
workflow
{
file_validation_ch
=
file_validation
(
params
.
cvs_file
,
params
.
gtf_file
)
struc_gen_ch
=
struc_gen
(
#
No
idea
yet
)
}
/* Book keeping upon workflow completion */
workflow
.
onComplete
{
log
.
info
(
workflow
.
success
?
"\nDone! Open the following report in your browser --> $params.outdir/multiqc/multiqc_report.html\n"
:
"Oops .. something went wrong"
)
)
}
```
Loading