Skip to content

Commit 8f4d262

Browse files
authored
Merge pull request #338 from JoseEspinosa/bump_chromap
Bump chromap
2 parents ff9eb2a + 261cc86 commit 8f4d262

12 files changed

Lines changed: 39 additions & 58 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Updated pipeline template to [nf-core/tools 2.7.2](https://github.com/nf-core/tools/releases/tag/2.7.2)
1111
- [[#317](https://github.com/nf-core/chipseq/issues/317)] Added metro map
12+
- [[#288](https://github.com/nf-core/chipseq/issues/291)] Bump `chromap` version 2 and enable all the steps below chromap again when paired-end data is processed.
1213

1314
## [[2.0.0](https://github.com/nf-core/chipseq/releases/tag/2.0.0)] - 2022-10-03
1415

bin/bampe_rm_orphan.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747

4848
def makedir(path):
49-
5049
if not len(path) == 0:
5150
try:
5251
os.makedirs(path)
@@ -63,7 +62,6 @@ def makedir(path):
6362

6463

6564
def bampe_rm_orphan(BAMIn, BAMOut, onlyFRPairs=False):
66-
6765
## SETUP DIRECTORY/FILE STRUCTURE
6866
OutDir = os.path.dirname(BAMOut)
6967
makedir(OutDir)
@@ -89,7 +87,6 @@ def bampe_rm_orphan(BAMIn, BAMOut, onlyFRPairs=False):
8987
## FILTER FOR READS ON SAME CHROMOSOME IN FR ORIENTATION
9088
if onlyFRPairs:
9189
if pair1.tid == pair2.tid:
92-
9390
## READ1 FORWARD AND READ2 REVERSE STRAND
9491
if not pair1.is_reverse and pair2.is_reverse:
9592
if pair1.reference_start <= pair2.reference_start:

bin/check_samplesheet.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def check_samplesheet(file_in, file_out):
4949

5050
sample_mapping_dict = {}
5151
with open(file_in, "r", encoding="utf-8-sig") as fin:
52-
5352
## Check header
5453
MIN_COLS = 2
5554
HEADER = ["sample", "fastq_1", "fastq_2", "antibody", "control"]
@@ -156,7 +155,6 @@ def check_samplesheet(file_in, file_out):
156155
+ "\n"
157156
)
158157
for sample in sorted(sample_mapping_dict.keys()):
159-
160158
## Check that multiple runs of the same sample are of the same datatype i.e. single-end / paired-end
161159
if not all(x[0] == sample_mapping_dict[sample][0][0] for x in sample_mapping_dict[sample]):
162160
print_error(

bin/igv_files_to_session.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555

5656

5757
def makedir(path):
58-
5958
if not len(path) == 0:
6059
try:
6160
os.makedirs(path)
@@ -72,7 +71,6 @@ def makedir(path):
7271

7372

7473
def igv_files_to_session(XMLOut, ListFile, ReplaceFile, Genome, PathPrefix=""):
75-
7674
makedir(os.path.dirname(XMLOut))
7775

7876
replaceFileDict = {}

bin/macs2_merged_expand.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555

5656

5757
def makedir(path):
58-
5958
if not len(path) == 0:
6059
try:
6160
os.makedirs(path)
@@ -78,7 +77,6 @@ def makedir(path):
7877

7978

8079
def macs2_merged_expand(MergedIntervalTxtFile, SampleNameList, OutFile, isNarrow=False, minReplicates=1):
81-
8280
makedir(os.path.dirname(OutFile))
8381

8482
combFreqDict = {}

modules.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
},
2828
"chromap/chromap": {
2929
"branch": "master",
30-
"git_sha": "5e34754d42cd2d5d248ca8673c0a53cdf5624905",
30+
"git_sha": "d6b7b1f108dab88b0269a4331767c36a1a8da960",
3131
"installed_by": ["modules"]
3232
},
3333
"chromap/index": {
3434
"branch": "master",
35-
"git_sha": "5e34754d42cd2d5d248ca8673c0a53cdf5624905",
35+
"git_sha": "d6b7b1f108dab88b0269a4331767c36a1a8da960",
3636
"installed_by": ["modules"]
3737
},
3838
"custom/dumpsoftwareversions": {

modules/nf-core/chromap/chromap/main.nf

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/chromap/chromap/meta.yml

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/chromap/index/main.nf

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/chromap/index/meta.yml

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)