You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rain.nf
+28-6Lines changed: 28 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ params.library_type = "auto" // can be 'U', 'IU', 'MU', 'OU', 'ISF', 'ISR', 'MSF
26
26
params.bam_library_type =null// can be 'U', 'IU', 'MU', 'OU', 'ISF', 'ISR', 'MSF', 'MSR', 'OSF', 'OSR', 'auto' - see https://github.com/Juke34/AliNe for more information
--aligner Aligner to use [default: $params.aligner]
87
+
--edit_site_tool Tool used for detecting edited sites. Default: $params.edit_site_tool
85
88
--read_type Type of reads among this list ${read_type_allowed} (default: short_paired)
86
89
--library_type Set the library_type of your fastq reads (default: auto). In auto mode salmon will guess the library type for each sample. [ 'U', 'IU', 'MU', 'OU', 'ISF', 'ISR', 'MSF', 'MSR', 'OSF', 'OSR', 'auto' ]
87
90
--bam_library_type Set the library_type of your BAM reads (default: null). When using BAM you must set a library type: [ 'U', 'IU', 'MU', 'OU', 'ISF', 'ISR', 'MSF', 'MSR', 'OSF', 'OSR', 'auto' ]
@@ -112,6 +115,9 @@ Alignment Parameters
112
115
aline_profiles : ${params.aline_profiles}
113
116
aligner : ${params.aligner}
114
117
reads_library_type : ${params.library_type}
118
+
119
+
Edited Site Detection Parameters
120
+
edit_site_tool : ${params.edit_site_tool}
115
121
edit_threshold : ${params.edit_threshold}
116
122
117
123
Report Parameters
@@ -162,6 +168,11 @@ if( !params.aligner ){
162
168
}
163
169
}
164
170
171
+
// Check edit site tool params. Does not accept list yet, but validates input.
172
+
if ( ! (params.edit_site_tool in edit_site_tools) ){
173
+
exit 1, "Error: <${it}> edit site tool not accepted, please provide a tool in this list ${edit_site_tools}.\n"
174
+
}
175
+
165
176
// check RAIN profile - /!\ profile must be sync with AliNe profile as much as possible
0 commit comments