perl ParseCNV.pl ExampleFiles/Cases.rawcnv ExampleFiles/Controls.rawcnv ExampleFiles/Cases.fam ExampleFiles/ChrSnp0Pos.map --out ./try\C no longer supported in regex; marked by <-- HERE in m/(\ <-- HERE C)/ at PerlModules/URI/Escape.pm line 205.Compilation failed in require at PerlModules/URI.pm line 22.BEGIN failed--compilation aborted at PerlModules/URI.pm line 22.Compilation failed in require at (eval 5) line 1.Compilation failed in require at PerlModules/HTTP/Request.pm line 3.Compilation failed in require at PerlModules/LWP/UserAgent.pm line 10.BEGIN failed--compilation aborted at PerlModules/LWP/UserAgent.pm line 10.Compilation failed in require at PerlModules/LWP/Simple.pm line 26.BEGIN failed--compilation aborted at PerlModules/LWP/Simple.pm line 26.Compilation failed in require at ParseCNV.pl line 381.BEGIN failed--compilation aborted at ParseCNV.pl line 381.If that still doesn't work, please provide the output to:
perl -v
Regards,
Joseph Glessner
--
You received this message because you are subscribed to the Google Groups "ParseCNV" group.
To unsubscribe from this group and stop receiving emails from it, send an email to parsecnv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parsecnv/b281633d-80b7-4e3b-acf8-d1ae441dfda7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to pars...@googlegroups.com.
WARNING: 3380 probes were found in rawcnv but not in map. These will be automatically defined as in temp/MissingSNPs.txtHi Yaqian,
To unsubscribe from this group and stop receiving emails from it, send an email to pars...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to parsecnv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parsecnv/b4f86cdf-a7ea-4dfc-aa96-1e7b517f8664%40googlegroups.com.
perl ParseCNV.pl ExampleFiles/Cases.rawcnv ExampleFiles/Controls.rawcnv ExampleFiles/Cases.fam ExampleFiles/ChrSnp0Pos.map --idToPath ExampleFiles/IDToPath.txt --probesBafLrr ExampleFiles/probesBafLrr.txt/usr/bin/bash/home/yqliu/miniconda3/bin/R/home/yqliu/bin/plink/usr/bin/convertNOTICE: --build set to hg18 by default. Please check you are clear and consistent with which build you are using and if not hg18, download build specific files to GeneRef folder as specified in README.txt under "GeneRef Folder download latest versions unix commands", then run ParseCNV again specifying --build option.Running Command: perl ParseCNV.pl ExampleFiles/Cases.rawcnv ExampleFiles/Controls.rawcnv ExampleFiles/Cases.fam ExampleFiles/ChrSnp0Pos.map --idToPath ExampleFiles/IDToPath.txt --probesBafLrr ExampleFiles/probesBafLrr.txtMy Path ./Unable to connect to web to check latest versionRun Started 10:11:42 PM on Jul 4 2019Chromosomes found: chr1 Average Inter Probe Distance: 1.000Number of Probes:10Done InitializationProgress:100%Results-------Cases: 5Unaffected: 0Controls: 4Count Significant Deletion Probes Case Enrich: 1Count Significant Duplication Probes Case Enrich: 1Count Significant Deletion Probes Control Enrich: 0Count Significant Duplication Probes Control Enrich: 0GIFDel:0.378GIFDup:0.134
scan_range2-----------CountCNVRsDel: 1CountCNVRsDup: 1CountCNVRsDel: 0CountCNVRsDup: 0
scan_region-----------running Gene annotation deletionsrunning Gene annotation duplications
scan_DescPathway----------------Genes annotated with text description and pathway.Genes annotated with text description and pathway.Genes annotated with text description and pathway.Genes annotated with text description and pathway.
scan_rangeJustPos2------------------CountCNVRsDel: 1CountCNVRsDup: 1CountCNVRsDel: 1CountCNVRsDup: 1
vlookup SNP to Region ID------------------------deldupdeldup
countBarcodeOCCURENCE_V2------------------------deldupdeldup
vlookup Count Sig Regions-------------------------deldupdeldup
Sort by pvalue--------------running Sort deletion prunning Sort duplication prunning Sort deletion prunning Sort duplication p
Data-filter-advanced-unique records only----------------------------------------deldupdeldup
Create UCSC Custom Track For Review-----------------------------------casestate1,cn=0 4state2,cn=1 1state5,cn=3 5state6,cn=4 1controlstate1,cn=0 1state2,cn=1 1state5,cn=3 1state6,cn=4 1
NUMLines--------casecontrol
PercentSamples-AverageNumsnpLenComponentCalls---------------------------------------------Creating BAF/LRR Plots of two samples with associated CNV and one sample with CN=2 with flanking diploid data for each CNVRWARNING: Assuming BAF LRR files not in the current working directoryRunning: echo -e "Name\tChr\tPosition\tsample.B Allele Freq\tsample.Log R Ratio" > OutputFiles/Header5Col.txtcaseDelIndexes: 0 1 2 4 3Running: paste ExampleFiles/probesBafLrr.txt OutputFiles/Chr.txt OutputFiles/Pos.txt ExampleFiles/1_A.baflrr > 1_A.baflrr; cat OutputFiles/Header5Col.txt 1_A.baflrr > OutputFiles/tempintcsv.txt; sed 's/,/ /' OutputFiles/tempintcsv.txt > 1_A.baflrrRunning: perl ./PerlModules/visualize_cnv.pl -format plot -signal 1_A.baflrr OutputFiles/temp.txtNOTICE: Signal values for 0 CNV region is found in 1_A.baflrrExampleFiles/1_A.baflrr.chr1.1.JPGIndexes: 0 1 2 4 3Running: paste ExampleFiles/probesBafLrr.txt OutputFiles/Chr.txt OutputFiles/Pos.txt ExampleFiles/2_A.baflrr > 2_A.baflrr; cat OutputFiles/Header5Col.txt 2_A.baflrr > OutputFiles/tempintcsv.txt; sed 's/,/ /' OutputFiles/tempintcsv.txt > 2_A.baflrrRunning: perl ./PerlModules/visualize_cnv.pl -format plot -signal 2_A.baflrr OutputFiles/temp.txtNOTICE: Signal values for 0 CNV region is found in 2_A.baflrrExampleFiles/2_A.baflrr.chr1.1.JPGRunning: paste ExampleFiles/probesBafLrr.txt OutputFiles/Chr.txt OutputFiles/Pos.txt ExampleFiles/5_A.baflrr > 5_A.baflrr; cat OutputFiles/Header5Col.txt 5_A.baflrr > OutputFiles/tempintcsv.txt; sed 's/,/ /' OutputFiles/tempintcsv.txt > 5_A.baflrrNOTICE: Signal values for 1 CNV region is found in 5_A.baflrrNOTICE: Processing sample 5_A.baflrr CNV chr1:1-3 with copy number of 2 ... written to 5_A.baflrr.chr1.1.JPG
Running: convert -font helvetica -draw "text 0,410 chr1.1-1" -pointsize 30 ExampleFiles/1_A.baflrr.chr1.1.JPG ExampleFiles/2_A.baflrr.chr1.1.JPG 5_A.baflrr.chr1.1.JPG +append OutputFiles/1.JPGconvert: unable to open image `ExampleFiles/1_A.baflrr.chr1.1.JPG': No such file or directory @ error/blob.c/OpenBlob/2642.convert: unable to open image `ExampleFiles/2_A.baflrr.chr1.1.JPG': No such file or directory @ error/blob.c/OpenBlob/2642.rm: cannot remove ?.xampleFiles/1_A.baflrr.chr1.1.JPG?. No such file or directoryrm: cannot remove ?.xampleFiles/2_A.baflrr.chr1.1.JPG?. No such file or directoryRunning: rm 1_A.baflrr ExampleFiles/1_A.baflrr.chr1.1.JPG 2_A.baflrr ExampleFiles/2_A.baflrr.chr1.1.JPG 5_A.baflrr 5_A.baflrr.chr1.1.JPG caseDupIndexes: 0 1 2 4 3Running: paste ExampleFiles/probesBafLrr.txt OutputFiles/Chr.txt OutputFiles/Pos.txt ExampleFiles/1_A.baflrr > 1_A.baflrr; cat OutputFiles/Header5Col.txt 1_A.baflrr > OutputFiles/tempintcsv.txt; sed 's/,/ /' OutputFiles/tempintcsv.txt > 1_A.baflrrRunning: perl ./PerlModules/visualize_cnv.pl -format plot -signal 1_A.baflrr OutputFiles/temp.txtNOTICE: Signal values for 0 CNV region is found in 1_A.baflrrExampleFiles/1_A.baflrr.chr1.5.JPGIndexes: 0 1 2 4 3Running: paste ExampleFiles/probesBafLrr.txt OutputFiles/Chr.txt OutputFiles/Pos.txt ExampleFiles/2_A.baflrr > 2_A.baflrr; cat OutputFiles/Header5Col.txt 2_A.baflrr > OutputFiles/tempintcsv.txt; sed 's/,/ /' OutputFiles/tempintcsv.txt > 2_A.baflrrRunning: perl ./PerlModules/visualize_cnv.pl -format plot -signal 2_A.baflrr OutputFiles/temp.txtNOTICE: Signal values for 0 CNV region is found in 2_A.baflrrExampleFiles/2_A.baflrr.chr1.5.JPGRunning: paste ExampleFiles/probesBafLrr.txt OutputFiles/Chr.txt OutputFiles/Pos.txt ExampleFiles/5_A.baflrr > 5_A.baflrr; cat OutputFiles/Header5Col.txt 5_A.baflrr > OutputFiles/tempintcsv.txt; sed 's/,/ /' OutputFiles/tempintcsv.txt > 5_A.baflrrNOTICE: Signal values for 1 CNV region is found in 5_A.baflrrNOTICE: Processing sample 5_A.baflrr CNV chr1:5-7 with copy number of 2 ... written to 5_A.baflrr.chr1.5.JPG
Running: convert -font helvetica -draw "text 0,410 chr1.7-7" -pointsize 30 ExampleFiles/1_A.baflrr.chr1.5.JPG ExampleFiles/2_A.baflrr.chr1.5.JPG 5_A.baflrr.chr1.5.JPG +append OutputFiles/2.JPGconvert: unable to open image `ExampleFiles/1_A.baflrr.chr1.5.JPG': No such file or directory @ error/blob.c/OpenBlob/2642.convert: unable to open image `ExampleFiles/2_A.baflrr.chr1.5.JPG': No such file or directory @ error/blob.c/OpenBlob/2642.rm: cannot remove ?.xampleFiles/1_A.baflrr.chr1.5.JPG?. No such file or directoryrm: cannot remove ?.xampleFiles/2_A.baflrr.chr1.5.JPG?. No such file or directoryRunning: rm 1_A.baflrr ExampleFiles/1_A.baflrr.chr1.5.JPG 2_A.baflrr ExampleFiles/2_A.baflrr.chr1.5.JPG 5_A.baflrr 5_A.baflrr.chr1.5.JPG controlDelcontrolDupcaseDelcaseDupcontrolDelcontrolDupRunning: convert OutputFiles/1.JPG OutputFiles/2.JPG -append OutputFiles/BAF_LRR_Plots_CNVRs_1.jpgRunning: rm OutputFiles/1.JPG OutputFiles/2.JPG Running: rm OutputFiles/temp.txtRunning: rm OutputFiles/Chr.txt OutputFiles/Pos.txtRunning: rm OutputFiles/Header5Col.txt OutputFiles/tempintcsv.txt
SpecificBafLrrAccessMany------------------------Done Initialization BafLrrdelIndexes spec: 0 1 2 4 3Indexes spec: 0 1 2 4 3Indexes spec: 0 1 2 4 3Indexes spec: 0 1 2 4 3dupIndexes spec: 0 1 2 4 3Indexes spec: 0 1 2 4 3Indexes spec: 0 1 2 4 3Indexes spec: 0 1 2 4 3deldupMake PDF image of BAF/LRR for significant association regions across all contributing case samples.Error: cannot execute system command R CMD BATCH OutputFiles/.AllRes.RHi Yaqian,
1_A.baflrr ExampleFiles/1_A.baflrr
2_A.baflrr ExampleFiles/2_A.baflrr
3_A.baflrr ExampleFiles/3_A.baflrr
4_A.baflrr ExampleFiles/4_A.baflrr
5_A.baflrr ExampleFiles/5_A.baflrr
Second, OutputFiles is generically added to the $out variable to improve folder structure. Of course, this is only good if the folder exists which it does not and the code doesn't check for that.
Line 5613 of ParseCNV after checking "BafLrr" directory exists, I added:
$dir = 'BafLrr/OutputFiles';To unsubscribe from this group and stop receiving emails from it, send an email to parsecnv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parsecnv/cf6e6097-0b03-4dd8-bba2-e17e48ce663e%40googlegroups.com.
Running: convert -font helvetica -draw "text 0,410 chr1.1-1" -pointsize 30 ExampleFiles/1_A.baflrr.chr1.1.JPG ExampleFiles/2_A.baflrr.chr1.1.JPG 5_A.baflrr.chr1.1.JPG +append OutputFiles/1.JPGconvert: unable to open image `ExampleFiles/1_A.baflrr.chr1.1.JPG': No such file or directory @ error/blob.c/OpenBlob/2642.convert: unable to open image `ExampleFiles/2_A.baflrr.chr1.1.JPG': No such file or directory @ error/blob.c/OpenBlob/2642.rm: cannot remove ?.xampleFiles/1_A.baflrr.chr1.1.JPG?. No such file or directoryrm: cannot remove ?.xampleFiles/2_A.baflrr.chr1.1.JPG?. No such file or directory
Running: convert -font helvetica -draw "text 0,410 chr1.7-7" -pointsize 30 ExampleFiles/1_A.baflrr.chr1.5.JPG ExampleFiles/2_A.baflrr.chr1.5.JPG 5_A.baflrr.chr1.5.JPG +append OutputFiles/2.JPGconvert: unable to open image `ExampleFiles/1_A.baflrr.chr1.5.JPG': No such file or directory @ error/blob.c/OpenBlob/2642.convert: unable to open image `ExampleFiles/2_A.baflrr.chr1.5.JPG': No such file or directory @ error/blob.c/OpenBlob/2642.rm: cannot remove ?.xampleFiles/1_A.baflrr.chr1.5.JPG?. No such file or directoryrm: cannot remove ?.xampleFiles/2_A.baflrr.chr1.5.JPG?. No such file or directoryI tried on my own data. It can generate AllRes.pdf, but image with BAF of each sample is empty.

And LRRs of all significant CNVRs in AllRes.pdf are around 0. It seems all CNVRs are fake.
Is it because of the errors which are the same as those in the example log?
Hi Yaqian,
To unsubscribe from this group and stop receiving emails from it, send an email to parsecnv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parsecnv/bf564e04-6c43-4fe2-986d-a6f85d63a461%40googlegroups.com.
Hi Joseph Glessner,
I changed the perl file and run the ExampleFiles again. The result images are attached.
Then I run on my own data:
perl /home/yqliu/tools/ParseCNVRelease_20/ParseCNV.pl NBF10_case.rawcnv NBF10_control.rawcnv NBF10_case.fam allposition.map --build hg19 --idToPath IDToPath.txt --snpposfile SNP_pos.txt --probesBafLrr probesBAFLRR.txt --maxPInclusion 0.001
It still has no plot in BAF images no matter if I add --maxPInclusion. A part of the images is also attached.
Thank you,
Yaqian
Hi Yaqian,
To unsubscribe from this group and stop receiving emails from it, send an email to parsecnv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parsecnv/0a173681-3ba0-40e8-82e4-72b1d5ed0000%40googlegroups.com.
perl /home/yqliu/tools/ParseCNVRelease_20/ParseCNV.pl NBF10_case.rawcnv NBF10_control.rawcnv NBF10_case.fam allposition.map --build hg19 --idToPath IDToPath.txt --probesBafLrr probesBAFLRR.txt --maxPInclude 0.001To unsubscribe from this group and stop receiving emails from it, send an email to parsecnv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parsecnv/38f63202-a251-4437-ab2d-50aee3d1aa61%40googlegroups.com.
Then try again with --probesBafLrr option included.
The code with these edits attached as a .txt for reference.
To unsubscribe from this group and stop receiving emails from it, send an email to parsecnv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parsecnv/6ed19679-8986-4e4e-b343-2e26a1c0eafb%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to parsecnv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/parsecnv/0e0a64e4-65cc-44a4-ab8f-85acec5e8942%40googlegroups.com.