Skip to content

Commit b93b03e

Browse files
committed
Check by restoring to an older version
1 parent b1b2f59 commit b93b03e

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

Diff for: .github/workflows/main.yml

+3-20
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,7 @@ jobs:
3131
snakefile: workflow/Snakefile
3232
args: "--lint"
3333

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+
5435

5536
Testing:
5637
runs-on: ubuntu-latest
@@ -73,6 +54,8 @@ jobs:
7354
ls -R
7455
echo "Listing contents of .test directory:"
7556
ls -R .test
57+
echo "Listing contents of .test/config directory:"
58+
ls -R .test/config
7659
echo "Listing contents of .test/data directory:"
7760
ls -R .test/data
7861
- name: Test report

Diff for: workflow/Snakefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ reference_dict = f"{reference}.dict"
1616
sample_files = glob.glob(os.path.join(data_folder, "*.bam"))
1717
samples = [os.path.basename(f).replace(".bam", "") for f in sample_files]
1818

19+
read_groups = [f"results/grouped/{sample}.bam" for sample in samples]
20+
deduped_files = [f"results/dedup/{sample}.bam" for sample in samples]
1921
splitted_files = [f"results/split/{sample}.bam" for sample in samples]
2022

2123

2224
rule all:
2325
input:
24-
splitted_files,
26+
deduped_files,
2527
reference_idx,
2628
reference_dict,
2729

0 commit comments

Comments
 (0)