Closed mblanche closed 3 years ago
Sorry for the inconvenience. Now, it runs for .mcool and generates an empty file with header. Again, if you want to run mustache on all chromosomes you just need to write something like this:
python ./mustache/mustache.py -f ./data.cool --pThreshold 0.1 -o out.loop -r 1000 -st 0.8
I’m really sorry… just tested v1.1.3 on .mcool files. Thanks a lot, It does run through all chromosomes.
However, no file is produced if no loops are found.
On Apr 26, 2021, at 5:12 PM, ay-lab @.***> wrote:
Sorry for the inconvenience. Now, it runs for .mcool and generates an empty file with header. Again, if you want to run mustache for all chromosomes you just need to write something like this:
python ./mustache/mustache.py -f ./data.cool --pThreshold 0.1 -o out.loop -r 1000 -st 0.8
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Weird, it generates an empty output file (with just the header) for me! I tested it on test_small.cool and test_small.mcool.
Weird… Let me test it again and make sure all is good with my docker image. I’ll open a new ticket with details if not…
On Apr 26, 2021, at 6:35 PM, ay-lab @.***> wrote:
Weird, it generates an empty output file (with just the header) for me! I tested it on test_small.cool and test_small.mcool.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Ok, real sorry about that last one... My fault. I was forgetting that I was running the job in the container at the root dir... take a look now!
Running mustache testing for the creation of test.tsv Command:
docker run -i -v ${PWD}:/mnt mblanche/mustache:1.1.3 mustache -p 24 -f /mnt/test_small.mcool -o test.tsv -ch chr1 -r 1000 &>/dev/null && \
if [[ -f test.tsv ]];then echo 'Hooray!!! found test.tsv';else echo 'Darn... Still missing test.tsv'; fi
Result:
Hooray!!! found test.tsv
Expected outcome To return a joyful message that the lost file is finally found!
Thanks a bunch for all your help and really fast answer! I'm building a very large NextFlow workflow for our production to submit to AWS Batch, and this was essential!
Best
Marco
No problem, glad it finally worked.
Real sorry, keep finding small bugs... I guess you'll need to make the changes you made for the cool file also work for mcool file
Problem Mustache crashes with
IndexError: list index out of range
error when processing chrY in .mcool file (similar to the previous issue #17 )How to reproduce it: Download test data set and pull latest docker image:
Run mustache 1.1.2 from Docker image:
Error Produced:
Expected behavior: Mustache should complete with exit 0 producing a .tsv file with loops or only header if no loops are found