File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ process IGV {
9
9
tuple(output_name, path(vcf_files), path(vcf_idx_files))
10
10
11
11
output:
12
- path(" ${ output_name} _baf.igv" )
12
+ path(" ${ output_name} _baf.igv" , emit : BAF_IGV_files )
13
13
14
14
script:
15
15
"""
16
16
source ${ params.baf_path} /venv/bin/activate
17
17
python ${ params.baf_path} /make_BAF_igv.py ${ vcf_files} -o ${ output_name} _baf.igv -c
18
18
"""
19
- }
19
+ }
Original file line number Diff line number Diff line change @@ -26,15 +26,33 @@ process FamilyIGV {
26
26
shell = [' /bin/bash' , ' -eo' , ' pipefail' ]
27
27
28
28
input:
29
- tuple(sample_id, path(bam_files), ped_file, analysis_id)
29
+ val(ped_file)
30
+ val(analysis_id)
31
+ path(bam_files)
32
+ path(snv_vcf_files)
33
+ path(cnv_vcf_files)
34
+ path(igv_files)
35
+ path(upd_files)
36
+ path(baf_files)
30
37
31
38
output:
32
39
path(" *.xml" , emit : Family_IGV_file )
33
40
34
41
script:
35
42
def bam_files = bam_files. collect{" $it " }. join(" " )
43
+ def snv_vcf_files = snv_vcf_files. collect{" $it " }. join(" " )
44
+ def cnv_vcf_files = cnv_vcf_files. collect{" $it " }. join(" " )
45
+ def igv_files = igv_files. collect{" $it " }. join(" " )
46
+ def upd_files = upd_files. collect{" $it " }. join(" " )
47
+ def baf_files = baf_files. collect{" $it " }. join(" " )
36
48
"""
37
49
source ${ params.dx_resources_path} /${ params.exomedepth_path} /venv/bin/activate
38
- python ${ params.dx_resources_path} /${ params.exomedepth_path} /igv_xml_session.py family_igv ./ ${ ped_file} ${ analysis_id} ${ sample_id} ${ bam_files}
50
+ python ${ params.dx_resources_path} /${ params.exomedepth_path} /igv_xml_session.py family_igv ./ ${ ped_file} ${ analysis_id} \
51
+ --bam_files $bam_files \
52
+ --snv_vcf_files $snv_vcf_files \
53
+ --cnv_vcf_files $cnv_vcf_files \
54
+ --igv_files $igv_files \
55
+ --upd_files $upd_files \
56
+ --baf_files $baf_files
39
57
"""
40
- }
58
+ }
You can’t perform that action at this time.
0 commit comments