File tree 2 files changed +6
-21
lines changed
2 files changed +6
-21
lines changed Original file line number Diff line number Diff line change 31
31
snakefile : workflow/Snakefile
32
32
args : " --lint"
33
33
34
- Testing_cd :
35
- runs-on : ubuntu-latest
36
- needs :
37
- - Linting
38
- - Formatting
39
- steps :
40
- - uses : actions/checkout@v4
41
-
42
- - name : Change to .test directory
43
- run : cd .test
44
-
45
- - name : Test workflow
46
- run : |
47
- snakemake --directory '.test' --snakefile 'workflow/Snakefile' --dry-run --use-conda --show-failed-logs --cores 3 --conda-cleanup-pkgs cache --all-temp
48
- working-directory : .test
49
-
50
- - name : Test report
51
- run : |
52
- snakemake --directory '.test' --snakefile 'workflow/Snakefile' --report report.zip
53
- working-directory : .test
34
+
54
35
55
36
Testing :
56
37
runs-on : ubuntu-latest
73
54
ls -R
74
55
echo "Listing contents of .test directory:"
75
56
ls -R .test
57
+ echo "Listing contents of .test/config directory:"
58
+ ls -R .test/config
76
59
echo "Listing contents of .test/data directory:"
77
60
ls -R .test/data
78
61
- name : Test report
Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ reference_dict = f"{reference}.dict"
16
16
sample_files = glob .glob (os .path .join (data_folder , "*.bam" ))
17
17
samples = [os .path .basename (f ).replace (".bam" , "" ) for f in sample_files ]
18
18
19
+ read_groups = [f"results/grouped/{ sample } .bam" for sample in samples ]
20
+ deduped_files = [f"results/dedup/{ sample } .bam" for sample in samples ]
19
21
splitted_files = [f"results/split/{ sample } .bam" for sample in samples ]
20
22
21
23
22
24
rule all :
23
25
input :
24
- splitted_files ,
26
+ deduped_files ,
25
27
reference_idx ,
26
28
reference_dict ,
27
29
You can’t perform that action at this time.
0 commit comments