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
!40
Add new file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add new file
andri.fraenkl-main-patch-97983
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Andri Fränkl
requested to merge
andri.fraenkl-main-patch-97983
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
a1172ba9
1 commit,
2 years ago
1 file
+
54
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Trans_Struc_Gen.nf
0 → 100644
+
54
−
0
Options
#
!
/usr/
bin
/
env
nextflow
nextflow
.
enable
.
dsl
=
2
```
c
/*
* Define the input parameters"""Takes input from csv-formatted file ("ID,Count")
with counts for individual transcripts.
Also a gtf-formatted file with exon coordinates
of the transcripts included in the csv file.
Outputs gtf-formatted file containing
generated intron/exon structures per transcript.
Outputs csv-formatted file
("NewTranscriptID,ID,Count") with id of
generated transcript, id of original
transcript (without intron inclusions) and
Counts.
*/
params
.
cvs_file
=
"
$projectDir
/tests/
#
Input
cvs
file
from
group
1
params
.
gtf_file
=
"
$projectDir
/tests/
#
Input
gtf
file
from
group
1
params
.
outdir
=
"results"
/* Log some information for the user */
log
.
info
"""\
R N A S E Q - N F P I P E L I N E
===================================
cvs_file : ${params.cvs_file}
gtf_file : ${params.gtf_file}
outdir : ${params.outdir}
"""
.
stripIndent
()
/*
* define the `file_validation` process
* given that the input files exist and are the correct format
*/
process
file_validation
{
input:
path
cvs_file
path
gtf_file
output:
path
cvs_file
into
struc_gen
path
gtf_file
into
struc_gen
script:
"""
"""
}
Loading