Skip to content
Snippets Groups Projects
Commit 149e3d82 authored by nservant's avatar nservant
Browse files

[MODIF] deal with technical replicates

parent 863e95be
No related branches found
No related tags found
No related merge requests found
......@@ -124,8 +124,8 @@ class RowChecker:
for row in self.modified:
sample = row[self._sample_col]
seen[sample] += 1
if counts[sample] > 1:
row[self._sample_col] = f"{sample}_T{seen[sample]}"
#if counts[sample] > 1:
# row[self._sample_col] = f"{sample}_T{seen[sample]}"
def sniff_format(handle):
......
......@@ -164,10 +164,10 @@ workflow HIC {
ch_input
)
.reads
.map {
meta, fastq ->
meta.id = meta.id.split('_')[0..-2].join('_')
[ meta, fastq ] }
//.map {
// meta, fastq ->
// meta.id = meta.id.split('_')[0..-2].join('_')
// [ meta, fastq ] }
.groupTuple(by: [0])
.flatMap { it -> setMetaChunk(it) }
.collate(2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment