Skip to content

Commit b0d89dc

Browse files
authored
Merge pull request #963 from lldelisle/update_chip_pe
Update ChIP PE
2 parents 43c7abd + 4d76643 commit b0d89dc

File tree

4 files changed

+159
-176
lines changed

4 files changed

+159
-176
lines changed

workflows/epigenetics/chipseq-pe/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [1.0] - 2025-10-03
4+
5+
### Tool change
6+
7+
- The workflow now uses fastp instead of cutadapt.
8+
9+
### Automatic update
10+
- `toolshed.g2.bx.psu.edu/repos/devteam/bowtie2/bowtie2/2.5.3+galaxy1` was updated to `toolshed.g2.bx.psu.edu/repos/devteam/bowtie2/bowtie2/2.5.4+galaxy0`
11+
312
## [0.15] - 2025-06-09
413

514
### Automatic update

workflows/epigenetics/chipseq-pe/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
## Inputs values
88

9-
- adapters sequences: this depends on the library preparation. If you don't know, use FastQC to determine if it is Truseq or Nextera.
10-
- reference_genome: this field will be adapted to the genomes available for bowtie2.
11-
- effective_genome_size: this is used by MACS2 and may be entered manually (indications are provided for heavily used genomes).
12-
- normalize_profile: Whether you want to have a profile normalized as Signal to Million Fragments.
9+
- Percentage of bad quality bases per read: fastp will discard any read which has more than this percentage of bases with a quality below 30. This depends on your read length.
10+
- Reference genome: this field will be adapted to the genomes available for bowtie2.
11+
- Effective genome size: this is used by MACS2 and may be entered manually (indications are provided for heavily used genomes).
12+
- Normalize profile: Whether you want to have a profile normalized as Signal to Million Fragments.
1313

1414
## Processing
1515

16-
- The workflow will remove illumina adapters and low quality bases and filter out any pair with mate smaller than 15bp.
16+
- The workflow will remove illumina adapters using read overlap and filter out any read smaller than 15bp after adapter removal. All reads with too many low quality bases will be discarded.
1717
- The filtered reads are mapped with bowtie2 with default parameters.
1818
- The BAM is filtered to keep only MAPQ30 and concordant pairs.
1919
- The peaks are called with MACS2 which at the same time generates a coverage file (normalized or not).

workflows/epigenetics/chipseq-pe/chipseq-pe-tests.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,79 +16,78 @@
1616
class: File
1717
location: https://zenodo.org/record/1324070/files/wt_H3K4me3_read2.fastq.gz
1818
filetype: fastqsanger.gz
19-
adapter_forward: 'GATCGGAAGAGCACACGTCTGAACTCCAGTCAC'
20-
adapter_reverse: 'GATCGGAAGAGCGTCGTGTAGGGAAAGAGTGT'
21-
reference_genome: 'mm10'
22-
effective_genome_size: 1870000000
23-
normalize_profile: true
19+
Percentage of bad quality bases per read: 70
20+
Reference genome: 'mm10'
21+
Effective genome size: 1870000000
22+
Normalize profile: true
2423
outputs:
2524
MultiQC webpage:
2625
asserts:
2726
- that: "has_text"
2827
text: "wt_H3K4me3"
2928
- that: "has_text"
30-
text: <a href="#cutadapt_filtered_reads" class="nav-l2">Filtered Reads</a>
29+
text: <a href="#fastp" class="nav-l1">fastp</a>
3130
- that: "has_text"
3231
text: <a href="#bowtie2" class="nav-l1">Bowtie 2 / HiSAT2</a>
3332
'MultiQC on input dataset(s): Stats':
3433
asserts:
3534
has_line:
36-
line: "Sample macs2-d macs2-treatment_redundant_rate macs2-peak_count bowtie_2_hisat2-overall_alignment_rate cutadapt-percent_trimmed"
35+
line: "Sample macs2-d macs2-treatment_redundant_rate macs2-peak_count bowtie_2_hisat2-overall_alignment_rate fastp-pct_duplication fastp-after_filtering_q30_rate fastp-after_filtering_q30_bases fastp-filtering_result_passed_filter_reads fastp-after_filtering_gc_content fastp-pct_surviving fastp-pct_adapter"
3736
has_text_matching:
38-
expression: "wt_H3K4me3\t201.0\t0.0\t11\t98.[0-9]*\t10.[0-9]*"
37+
expression: "wt_H3K4me3\t20[12].0\t0.0\t13\t98.[0-9]*\t0.002\t93.[0-9]*\t4.5[0-9]*\t0.095[0-9]*\t57.[0-9]*\t95.[0-9]*\t0.19[0-9]*"
3938
filtered BAM:
4039
element_tests:
4140
wt_H3K4me3:
4241
asserts:
4342
has_size:
44-
value: 5008461
45-
delta: 200000
43+
value: 5311841
44+
delta: 500000
4645
MACS2 summits:
4746
element_tests:
4847
wt_H3K4me3:
4948
asserts:
5049
has_n_lines:
51-
n: 11
50+
n: 13
5251
MACS2 peaks:
5352
element_tests:
5453
wt_H3K4me3:
5554
asserts:
5655
- that: "has_text"
5756
text: "# effective genome size = 1.87e+09"
57+
- that: "has_text_matching"
58+
expression: "# fragment size is determined as 20[12] bps"
5859
- that: "has_text"
59-
text: "# fragment size is determined as 201 bps"
60-
- that: "has_text"
61-
text: "# fragments after filtering in treatment: 41724"
60+
text: "# fragments after filtering in treatment: 42745"
6261
MACS2 narrowPeak:
6362
element_tests:
6463
wt_H3K4me3:
6564
asserts:
6665
has_n_lines:
67-
n: 11
66+
n: 13
6867
MACS2 report:
6968
element_tests:
7069
wt_H3K4me3:
7170
asserts:
7271
- that: "has_text"
7372
text: "# effective genome size = 1.87e+09"
73+
- that: "has_text_matching"
74+
expression: "# fragment size is determined as 20[12] bps"
7475
- that: "has_text"
75-
text: "# fragment size is determined as 201 bps"
76-
- that: "has_text"
77-
text: "# fragments after filtering in treatment: 41724"
76+
text: "# fragments after filtering in treatment: 42745"
7877
coverage from MACS2:
7978
element_tests:
8079
wt_H3K4me3:
8180
asserts:
8281
has_size:
83-
value: 556477
84-
delta: 10000
82+
value: 568174
83+
delta: 50000
8584
mapping stats:
8685
element_tests:
8786
wt_H3K4me3:
8887
asserts:
8988
- that: "has_text"
90-
text: "1292 (2.79%) aligned concordantly 0 times"
89+
text: "1344 (2.82%) aligned concordantly 0 times"
9190
- that: "has_text"
92-
text: "39329 (84.93%) aligned concordantly exactly 1 time"
91+
text: "42961 (90.29%) aligned concordantly exactly 1 time"
9392
- that: "has_text"
94-
text: "5686 (12.28%) aligned concordantly >1 times"
93+
text: "3276 (6.89%) aligned concordantly >1 times"

0 commit comments

Comments
 (0)