Skip to content
Snippets Groups Projects
Commit 195619a6 authored by nservant's avatar nservant
Browse files

remove gc in compartments

parent e2783e11
Branches
No related tags found
No related merge requests found
...@@ -969,10 +969,10 @@ process compartment_calling { ...@@ -969,10 +969,10 @@ process compartment_calling {
script: script:
""" """
cooltools genome binnify ${chrsize} ${res} > genome_bins.txt #cooltools genome binnify ${chrsize} ${res} > genome_bins.txt
cooltools genome gc genome_bins.txt ${fasta} > genome_gc.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} 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 #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.
Please register or to comment