Skip to content
Snippets Groups Projects
Commit 97c42bae authored by nservant's avatar nservant
Browse files

Merge branch 'dev' of https://github.com/nservant/nf-core-hic into dev

parents 1d54341f 195619a6
No related branches found
No related tags found
No related merge requests found
......@@ -977,10 +977,10 @@ process compartment_calling {
script:
"""
cooltools genome binnify ${chrsize} ${res} > genome_bins.txt
cooltools genome gc genome_bins.txt ${fasta} > genome_gc.txt
cooltools call-compartments --reference-track genome_gc.txt --contact-type cis -o ${sample}_compartments ${cool}
awk -F"\t" 'NR>1{OFS="\t"; if(\$6==""){\$6=0}; print \$1,\$2,\$3,\$6}' ${sample}_compartments.cis.vecs.tsv | sort -k1,1 -k2,2n > ${sample}_compartments.cis.E1.bedgraph
#cooltools genome binnify ${chrsize} ${res} > genome_bins.txt
#cooltools genome gc genome_bins.txt ${fasta} > genome_gc.txt
cooltools call-compartments --contact-type cis -o ${sample}_compartments ${cool}
#awk -F"\t" 'NR>1{OFS="\t"; if(\$6==""){\$6=0}; print \$1,\$2,\$3,\$6}' ${sample}_compartments.cis.vecs.tsv | sort -k1,1 -k2,2n > ${sample}_compartments.cis.E1.bedgraph
"""
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment