Open ValentinaBoP opened 2 years ago
Hi Valentina,
The error tells that your input files are not valid .cool files. Can you double check your file source and make sure they were generated by the cooler package or tools that use cooler (https://github.com/open2c/cooler) as a dependent package?
Xiaotao
I produced the cool files myself like this:
# map reads
bwa mem -SP5M -t 16 $REF $R1 $R2 | samtools view -bhS - > $BAM
# filter reads
samtools view -h $BAM | pairtools parse -c $REF.fai -o $PAIREDSAM
pairtools sort --nproc 16 -o $SORTEDSAM $PAIREDSAM
pairtools dedup --mark-dups -o $DEDUPSAM $SORTEDSAM
pairtools select '(pair_type == "UU") or (pair_type == "UR") or (pair_type == "RU")' -o $FILTEREDSAM $DEDUPSAM
pairtools split --output-pairs $PAIRS $FILTEREDSAM
pairix -p pairs $PAIRS
for SIZE in 5000 10000 50000
do
cooler cload pairix $REF.fai:$SIZE $PAIRS ${PREFIX}_${SIZE}.cool
cooler balance --stdout ${PREFIX}_${SIZE}.cool > ${PREFIX}_${SIZE}_balanced.cool
done
Hi,
I'm trying to run EagleC for a non-model organism but I'm getting this error:
Can you help me to understand how to fix it?
Thank you! Valentina