WGLab / PennCNV

Copy number vaiation detection from SNP arrays
http://penncnv.openbioinformatics.org
Other
88 stars 53 forks source link

the output file generated from runex.pl 1 is empty #28

Closed ZKai0801 closed 6 years ago

ZKai0801 commented 6 years ago

Hi,

I was trying to run detect_cnv.pl, however, the generated output file was always empty, even when I tried to use the example provided in the guide.

Hope you can help me with this.

Thanks!

kaichop commented 6 years ago

what's the command line and error/warning message in your screen

On Mon, Jun 18, 2018 at 9:48 AM, ZKai0801 notifications@github.com wrote:

Hi,

I was trying to run detect_cnv.pl, however, the generated output file was always empty, even when I tried to use the example provided in the guide.

Hope you can help me with this.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WGLab/PennCNV/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AFptuNi6JCUva--lZ1_1EQC91AI4T73Zks5t96_CgaJpZM4Uryc2 .

ZKai0801 commented 6 years ago

The command I used is perl runex.pl 1. And there is no error/warning message displayed.

Here is what I got:

kai@kai-S550CB:~/PennCNV-1.0.4/example$ perl runex.pl 1 Exercise 1: individual-based calling and write the output to ex1.rawcnv Running command <detect_cnv.pl -test -hmm example.hmm -pfb example.pfb -conf -log ex1.log -out ex1.rawcnv father.txt mother.txt offspring.txt>


NOTICE: All program notification/warning messages that appear in STDERR will be also written to log file ex1.log NOTICE: Reading marker coordinates and population frequency of B allele (PFB) from example.pfb ... Done with 93129 records NOTICE: Reading LRR and BAF values for from father.txt ... Done with 93129 records in 4 chromosomes NOTICE: Data from chromosome X will not be used in analysis NOTICE: Median-adjusting LRR values for all autosome markers from father.txt by 0.0221 NOTICE: Median-adjusting BAF values for all autosome markers from father.txt by 0.0029 NOTICE: quality summary for father.txt: LRR_mean=0.0027 LRR_median=0.0000 LRR_SD=0.1335 BAF_mean=0.5063 BAF_median=0.5000 BAF_SD=0.0390 BAF_DRIFT=0.000037 WF=0.0184 GCWF=0.0136


kaichop commented 6 years ago

it looks like the program was interrupted for some reason possibly due to out of memory, or due to other reasons, since there is no error message but the program did not finish. You can try compile the source code and see if there is any error message and then try again.

On Mon, Jun 18, 2018 at 4:07 PM, ZKai0801 notifications@github.com wrote:

The command I used is perl runex.pl 1. And there is no error/warning message displayed.

Here is what I got:

kai@kai-S550CB:~/PennCNV-1.0.4/example$ perl runex.pl 1 Exercise 1: individual-based calling and write the output to ex1.rawcnv Running command <detect_cnv.pl -test -hmm example.hmm -pfb example.pfb -conf -log ex1.log -out ex1.rawcnv father.txt mother.txt offspring.txt>

NOTICE: All program notification/warning messages that appear in STDERR will be also written to log file ex1.log NOTICE: Reading marker coordinates and population frequency of B allele (PFB) from example.pfb ... Done with 93129 records NOTICE: Reading LRR and BAF values for from father.txt ... Done with 93129 records in 4 chromosomes NOTICE: Data from chromosome X will not be used in analysis NOTICE: Median-adjusting LRR values for all autosome markers from father.txt by 0.0221 NOTICE: Median-adjusting BAF values for all autosome markers from father.txt by 0.0029 NOTICE: quality summary for father.txt: LRR_mean=0.0027 LRR_median=0.0000 LRR_SD=0.1335 BAF_mean=0.5063 BAF_median=0.5000 BAF_SD=0.0390 BAF_DRIFT=0.000037 WF=0.0184 GCWF=0.0136

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WGLab/PennCNV/issues/28#issuecomment-398178691, or mute the thread https://github.com/notifications/unsubscribe-auth/AFptuOFoYi2piVr1RmIK4V48JTtbfYSgks5t-AhkgaJpZM4Uryc2 .

ZKai0801 commented 6 years ago

Thank you very much for your prompt reply! So I installed the whole software again, and when I went to the kext/ directory and type "make". It gave me following warning message:

kai@kai-S550CB:~/PennCNV-1.0.4/kext$ make gcc perl -MExtUtils::Embed -e ccopts -fPIC -c -o khmm_wrap.o khmm_wrap.c gcc perl -MExtUtils::Embed -e ccopts -fPIC -c -o khmm.o khmm.c gcc perl -MExtUtils::Embed -e ccopts -fPIC -c -o kc.o kc.c kc.c: In function ‘kcwarn’: kc.c:200:2: warning: format not a string literal and no format arguments [-Wformat-security] warn (error_text); ^ gcc perl -MExtUtils::Embed -e ccopts -fPIC -c -o khmmDev.o khmmDev.c gcc -shared -o khmm.so khmm_wrap.o khmm.o kc.o khmmDev.o perl -MExtUtils::Embed -e ldopts mkdir -p perl -MConfig -e 'print $Config{version}' mkdir -p perl -MConfig -e 'print $Config{version}'/perl -MConfig -e 'print $Config{archname}'/ mkdir -p perl -MConfig -e 'print $Config{version}'/perl -MConfig -e 'print $Config{archname}'/auto/ mv khmm.so perl -MConfig -e 'print $Config{version}'/perl -MConfig -e 'print $Config{archname}'/

I switched to perl 5.14 with perlbrew before compilation, so it isn't the problem about using different version of perl

ZKai0801 commented 6 years ago

Hi Dr. Wang,

So this time I tried to run the example command manually, i.e.: detect_cnv.pl -test -hmm ../lib/hh550.hmm -pfb ../lib/hh550.hg18.pfb -conf -log ex1.log -out ex1.rawcnv father.txt mother.txt offspring.txt

It gave me an error message saying segmentation fault (core dumped).

The full error message showing as follow: NOTICE: All program notification/warning messages that appear in STDERR will be also written to log file ex1.log NOTICE: Reading marker coordinates and population frequency of B allele (PFB) from example.pfb ... Done with 93129 records NOTICE: Reading LRR and BAF values for from father.txt ... Done with 93129 records in 4 chromosomes NOTICE: Data from chromosome X will not be used in analysis NOTICE: Median-adjusting LRR values for all autosome markers from father.txt by 0.0221 NOTICE: Median-adjusting BAF values for all autosome markers from father.txt by 0.0029 NOTICE: quality summary for father.txt: LRR_mean=0.0027 LRR_median=0.0000 LRR_SD=0.1335 BAF_mean=0.5063 BAF_median=0.5000 BAF_SD=0.0390 BAF_DRIFT=0.000037 WF=0.0184 GCWF=0.0136 segmentation fault (core dumped)

Also, I noticed that few days ago there is a update of the software. After I updated the software and run the example command again, a new error message shown: Exercise 1: individual-based calling and write the output to ex1.rawcnv Running command <detect_cnv.pl -test -hmm example.hmm -pfb example.pfb -conf -log ex1.log -out ex1.rawcnv father.txt mother.txt offspring.txt>


Can't exec "detect_cnv.pl": No such file or directory at runex.pl line 81.


I would be very appreciated if you can help me with it!

kaichop commented 6 years ago

the segmentaion fault is due to compilation issues. Just re-compile the program and it should work.

The "cannot execute detect_cnv.pl" is likely due to PATH issues that you do not have the detect_cnv.pl file in the current path. You can simply run the command yourself: Running command <detect_cnv.pl -test -hmm example.hmm -pfb example.pfb -conf -log ex1.log -out ex1.rawcnv father.txt mother.txt offspring.txt>

On Sat, Jul 7, 2018 at 10:22 AM, ZKai0801 notifications@github.com wrote:

Hi Dr. Wang,

So this time I tried to run the example command manually, i.e.: detect_cnv.pl -test -hmm ../lib/hh550.hmm -pfb ../lib/hh550.hg18.pfb -conf -log ex1.log -out ex1.rawcnv father.txt mother.txt offspring.txt

It gave me an error message saying segmentation fault (core dumped).

The full error message showing as follow: NOTICE: All program notification/warning messages that appear in STDERR will be also written to log file ex1.log NOTICE: Reading marker coordinates and population frequency of B allele (PFB) from example.pfb ... Done with 93129 records NOTICE: Reading LRR and BAF values for from father.txt ... Done with 93129 records in 4 chromosomes NOTICE: Data from chromosome X will not be used in analysis NOTICE: Median-adjusting LRR values for all autosome markers from father.txt by 0.0221 NOTICE: Median-adjusting BAF values for all autosome markers from father.txt by 0.0029 NOTICE: quality summary for father.txt: LRR_mean=0.0027 LRR_median=0.0000 LRR_SD=0.1335 BAF_mean=0.5063 BAF_median=0.5000 BAF_SD=0.0390 BAF_DRIFT=0.000037 WF=0.0184 GCWF=0.0136 segmentation fault (core dumped)

Also, I noticed that few days ago there is a update of the software. After I updated the software and run the example command again, a new error message shown: Exercise 1: individual-based calling and write the output to ex1.rawcnv Running command <detect_cnv.pl -test -hmm example.hmm -pfb example.pfb -conf -log ex1.log -out ex1.rawcnv father.txt mother.txt offspring.txt>

Can't exec "detect_cnv.pl": No such file or directory at runex.pl line 81.

I would be very appreciated if you can help me with it!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WGLab/PennCNV/issues/28#issuecomment-403219106, or mute the thread https://github.com/notifications/unsubscribe-auth/AFptuG3sUl5yunrVYSGuWfpT5bXkZxtTks5uEMQwgaJpZM4Uryc2 .

ZKai0801 commented 6 years ago

Hi,

Sorry to say that it still doesn't work this time... It just didn't generate result and had no error message.

I thought this may have something to do the Ubuntu I'm using, so I changed my system into mint18. However, I'm now experiencing some difficulty with installing old version of perl. I will keep trying on that. At the meantime, would you mind suggest me a system that most likely get pennCNV to run?

Thank you very much!