PureCLIP icon indicating copy to clipboard operation
PureCLIP copied to clipboard

pureclip coredumps

Open riederd opened this issue 5 years ago • 6 comments

Hi,

the following pureclip command crashes with a coredump:

pureclip -i umidedup.bam -bai umidedup.bam.bai -g homo_sapiens.88.fa -iv '1;2;3;4;8;16' -nt 8 -o PureCLIP.crosslink_sites.cov_CLmotifs.bed -nim 4 -fis fimo_clmotif_occurenc es.bed

Last few output lines of stderr:

terminate called recursively terminate called after throwing an instance of 'terminate called recursively boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorstd::domain_error >' command.sh: line 5: 63589 Aborted (core dumped) pureclip -i umidedup.bam -bai umidedup.bam.bai -g homo_sapiens.88.fa -iv '1;2;3;4;8;16' -nt 8 -o PureCLIP.crosslink_sites.cov_CLmotifs.bed -nim 4 -fis fimo_clmotif_occurences.bed

riederd avatar Nov 29 '19 07:11 riederd

Hi,

I assume you are using PureCLIP v1.3.1 ? Could you send me the log file when running it with -vv then I can have look? In case you have data you could share where I could reproduce the error this would also help.

Best, Sabrina

skrakau avatar Dec 04 '19 10:12 skrakau

Hi,

you are right it is v1.3.1. I attached the log obtained with -vv, if this is not enough, I can send you the data, let me know.

PureClip.log

riederd avatar Dec 04 '19 10:12 riederd

Hi,

sorry for the late reply. It seems that there are relatively few signals in the regions used for parameter learning, in your case chr. 1 - 3. PureCLIP discards regions with only one read starting within 4 bandwidths. After this only 15 regions remain, which might cause a problem during model training. You could try to omit the '-iv' parameter in order to use all given data for parameter learning, maybe that helps.

However, in general this problem should of course be handled differently. If you could send me the data to reproduce the error in a private message I will try to address this in the future.

Best, Sabrina

skrakau avatar Dec 08 '19 13:12 skrakau

Hi, I just wanted to ask if you did get my private message via filesender with the data? I sent it on Dec. 10 to your (?) University address.

riederd avatar Dec 15 '19 11:12 riederd

Hi,

yes thanks, I got the link and downloaded the data, but didn't deal with the problem yet.

skrakau avatar Dec 15 '19 18:12 skrakau

Hi @skrakau ,

I installed the package from conda. When I run the program, the process killed itself.

pureclip -i aligned.prepro.R2.bam -bai aligned.prepro.R2.bam.bai \
 -g ref.hg19.fa -iv 'chr1;chr2;chr3;' -nt 0 \
 -o PureCLIP.crosslink_sites.bed \
 -ts 6000 -mtc2 5000 -nta 0 -vv >> log_0817_v2
Simple linear regression (count <- kde): b0 = -0.168431 and b1 = 111.308 .
  Compute KDEs ...
  Estiamte Ns ... 1
Prior ML estimation of density distribution parameters using predefined cutoff ...
Initial gamma1: Run simplex algorithm using different start points.
updateThetaAndK... kMax: 1
Call GSL multimin solver nmsimplex2 ...
  • pureclip version
pureclip - Protein-RNA interaction site detection 
==================================================
    pureclip [OPTIONS] <-i BAM FILE> <-bai BAI FILE> <-g GENOME FILE> <-o OUTPUT BED FILE>
    Try 'pureclip --help' for more information.

VERSION
    Last update: April 2019
    pureclip version: 1.3.1
    SeqAn version: 2.2.0

This (https://hub.docker.com/layers/ubuntu/library/ubuntu/xenial-20200706/images/sha256-e5ec578bd8c334d7c9849fd9bbaa78ec25f2b51b0bf7c9e18b1e9b7ca32d6681?context=explore) docker image.

Thanks.

eric-yyjau avatar Aug 17 '20 18:08 eric-yyjau