Skip to content

Commit

Permalink
Merge pull request #720 from maxplanck-ie/dev_ksikora2
Browse files Browse the repository at this point in the history
Genrich dict minus Input samples
  • Loading branch information
katsikora committed Nov 3, 2020
2 parents 5d226d3 + 968e69a commit 8a2ede0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snakePipes/workflows/ChIP-seq/internals.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ def filter_dict(sampleSheet,input_dict):

if sampleSheet:
genrichDict = cf.sampleSheetGroups(sampleSheet)
for k in genrichDict.keys():
genrichDict[k]=[item for item in genrichDict[k] if item in chip_samples]
if chip_samples_w_ctrl:
filtered_dict = filter_dict(sampleSheet,dict(zip(chip_samples_w_ctrl, [ get_control_name(x) for x in chip_samples_w_ctrl ])))
else:
Expand Down

0 comments on commit 8a2ede0

Please sign in to comment.