File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
workflows/Nextflow/modules/geneFamilyAnalysis Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,14 @@ process processRGIcontigResults {
108108process virulenceFactorReads {
109109 label ' vf'
110110 label ' medium'
111+ containerOptions " --bind=\$ PWD:/tmp"
111112
112113 publishDir(
113114 path : " ${ settings["geneFamilyOutDir"]} /MetaVF_Toolkit" ,
114115 mode : ' copy' ,
115116 saveAs : {
116- f -> " ${ settings["projName"]}${ f.drop(40)} "
117+ f -> if (f. endsWith(" VF_info.summary" )) {" ${ settings["projName"]} .VF_info.summary" }
118+ else if (f. endsWith(" .summary" )) {" ${ settings["projName"]} .summary" }
117119 }
118120 )
119121
@@ -122,7 +124,7 @@ process virulenceFactorReads {
122124 path paired
123125
124126 output:
125- path " Project_result/Project /copy_all/*.summary"
127+ path " ${ settings["projName"] } _result/ ${ settings["projName"] } /copy_all/*.summary"
126128 script:
127129 """
128130 eval "\$ (conda shell.bash hook)"
@@ -140,22 +142,25 @@ process virulenceFactorReads {
140142process virulenceFactorContigs {
141143 label ' vf'
142144 label ' medium'
145+ containerOptions " --bind=\$ PWD:/tmp"
143146
144147 publishDir(
145148 path : " ${ settings["geneFamilyOutDir"]} /VF_MetaVF_Toolkit" ,
146149 mode : ' copy' ,
147150 saveAs : {
148- f -> " ${ settings["projName"]}${ f.drop(48)} "
151+ f -> if (f. endsWith(" VF_info.summary" )) {" ${ settings["projName"]} .VF_info.summary" }
152+ else if (f. endsWith(" .summary" )) {" ${ settings["projName"]} .summary" }
149153 }
150154 )
151155
152156
157+
153158 input:
154159 val settings
155160 path contigs
156161
157162 output:
158- path " Project_result/Project /copy_contigs/copy_contigs*"
163+ path " ${ settings["projName"] } _result/ ${ settings["projName"] } /copy_contigs/copy_contigs*"
159164
160165
161166 script:
You can’t perform that action at this time.
0 commit comments