Re: [aroma.affymetrix] troubles in doing PCR fragment length normalization AROMA3.0

2016-08-07 Thread Henrik Bengtsson
>ok <- rho <- NULL
>verbose && cat(verbose, "Normalized thetas:")
>verbose && str(verbose, theta)
>verbose && summary(verbose, theta)
>verbose && exit(verbose)
>verbose && enter(verbose, "Creating CEL file for results, if missing")
>isFile <- isFile(pathname)
>pathnameT <- pushTemporaryFile(pathname, isFile = isFile,
>        verbose = verbose)
>ceN <- createFrom(ce, filename = pathnameT, path = NULL,
>verbose = less(verbose))
>verbose && exit(verbose)
>if (inherits(ce, "SnpChipEffectFile")) {
>ceN$mergeStrands <- ce$mergeStrands
>if (inherits(ce, "CnChipEffectFile")) {
>ceN$combineAlleles <- ce$combineAlleles
>}
>}
>setCdf(ceN, cdf)
>verbose && enter(verbose, "Storing normalized signals")
>ok <- which(is.finite(cellMatrixMap))
>cells <- cellMatrixMap[ok]
>data <- theta[ok]
>ok <- theta <- NULL
>verbose2 <- -as.integer(verbose) - 5
>pathnameN <- getPathname(ceN)
>.updateCel(pathnameN, indices = cells, intensities = data,
>verbose = verbose2)
>cells <- data <- ceN <- NULL
>verbose && exit(verbose)
>popTemporaryFile(pathnameT, verbose = verbose)
>dfZ <- getChecksumFile(pathname)
>gc <- gc()
>verbose && print(verbose, gc)
>pathname
>}
> 2: process.FragmentLengthNormalization(fln, verbose = verbose)
> 1: process(fln, verbose = verbose)
>
> -Ursprüngliche Nachricht-
> Von: [email protected] 
> [mailto:[email protected]] Im Auftrag von Henrik Bengtsson
> Gesendet: Mittwoch, 13. Juli 2016 17:45
> An: aroma-affymetrix 
> Betreff: Re: [aroma.affymetrix] troubles in doing PCR fragment length 
> normalization AROMA3.0
>
> That looks like a hiccup in the file system or something.  Did you try again?
>
> Also, if the error remains, please report what traceback() outputs (as the 
> first command after you get the error).
>
> /Henrik
>
> On Wed, Jul 13, 2016 at 4:19 AM,   wrote:
>> Hello,
>>
>> I have used the standard pipeline for SNP6 CEL files described in the
>> CRMAv2 vignette. I did run the pipeline before several times, without any 
>> issue.
>> Now, the fragment length normalization step failed with an error:
>>
>> Error in gzfile(file, mode) : cannot open the connection
>>
>> I am not clear where this error comes from.
>> Any support or idea is welcome.
>>
>> Best regards,
>> Thomas
>>
>> My sessionInfo:
>>
>>> sessionInfo()
>>
>> R version 3.2.1 (2015-06-18)
>>
>> Platform: x86_64-unknown-linux-gnu (64-bit)
>>
>> locale:
>>
>> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
>>
>> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
>>
>> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
>>
>> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
>>
>> [9] LC_ADDRESS=C LC_TELEPHONE=C
>>
>> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>>
>> attached base packages:
>>
>> [1] stats graphics grDevices utils datasets methods base
>>
>> other attached packages:
>>
>> [1] aroma.light_3.0.0 aroma.affymetrix_3.0.0 aroma.core_3.0.0
>>
>> [4] R.devices_2.14.0 R.filesets_2.10.0 R.utils_2.3.0
>>
>> [7] R.oo_1.20.0 affxparser_1.42.0 R.methodsS3_1.7.1
>>
>> loaded via a namespace (and not attached):
>>
>> [1] matrixStats_0.50.2 codetools_0.2-14 listenv_0.6.0 future_0.14.0
>>
>> [5] digest_0.6.9 R.huge_0.9.0 PSCBS_0.61.0 tools_3.2.1
>>
>> [9] R.cache_0.12.0 parallel_3.2.1 base64enc_0.1-3 aroma.apd_0.6.0
>>
>> [13] R.rsp_0.30.0 globals_0.6.1 DNAcopy_1.44.0
>>
>>
>> The full output of the process(fln, verbose=verbose) function:
>>
>>> cesN <- process(fln, verbose=verbose)
>>
>>
>> 20160713 12:50:05|Normalizing set for PCR fragment-length effects...
>>
>>
>> 20160713 12:51:07| Identifying SNP and CN units...
>>
>>
>> types
>>
>>
>> 1 2 5
>>
>>
>> 621 934968 945826
>>
>>
>> 20160713 12:51:09| subsetToUpdate:
>>
>>
>> int [1:1880794] 622 623 624 625 626 627 628 629 630 631 ...
>>
>>
>> 20160713 12:51:09| Identifying SNP and CN units...done
>>
>>
&

Re: [aroma.affymetrix] troubles in doing PCR fragment length normalization AROMA3.0

2016-07-13 Thread Henrik Bengtsson
That looks like a hiccup in the file system or something.  Did you try again?

Also, if the error remains, please report what traceback() outputs (as
the first command after you get the error).

/Henrik

On Wed, Jul 13, 2016 at 4:19 AM,   wrote:
> Hello,
>
> I have used the standard pipeline for SNP6 CEL files described in the CRMAv2
> vignette. I did run the pipeline before several times, without any issue.
> Now, the fragment length normalization step failed with an error:
>
> Error in gzfile(file, mode) : cannot open the connection
>
> I am not clear where this error comes from.
> Any support or idea is welcome.
>
> Best regards,
> Thomas
>
> My sessionInfo:
>
>> sessionInfo()
>
> R version 3.2.1 (2015-06-18)
>
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> locale:
>
> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
>
> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
>
> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
>
> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
>
> [9] LC_ADDRESS=C LC_TELEPHONE=C
>
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
>
> [1] stats graphics grDevices utils datasets methods base
>
> other attached packages:
>
> [1] aroma.light_3.0.0 aroma.affymetrix_3.0.0 aroma.core_3.0.0
>
> [4] R.devices_2.14.0 R.filesets_2.10.0 R.utils_2.3.0
>
> [7] R.oo_1.20.0 affxparser_1.42.0 R.methodsS3_1.7.1
>
> loaded via a namespace (and not attached):
>
> [1] matrixStats_0.50.2 codetools_0.2-14 listenv_0.6.0 future_0.14.0
>
> [5] digest_0.6.9 R.huge_0.9.0 PSCBS_0.61.0 tools_3.2.1
>
> [9] R.cache_0.12.0 parallel_3.2.1 base64enc_0.1-3 aroma.apd_0.6.0
>
> [13] R.rsp_0.30.0 globals_0.6.1 DNAcopy_1.44.0
>
>
> The full output of the process(fln, verbose=verbose) function:
>
>> cesN <- process(fln, verbose=verbose)
>
>
> 20160713 12:50:05|Normalizing set for PCR fragment-length effects...
>
>
> 20160713 12:51:07| Identifying SNP and CN units...
>
>
> types
>
>
> 1 2 5
>
>
> 621 934968 945826
>
>
> 20160713 12:51:09| subsetToUpdate:
>
>
> int [1:1880794] 622 623 624 625 626 627 628 629 630 631 ...
>
>
> 20160713 12:51:09| Identifying SNP and CN units...done
>
>
> 20160713 12:51:09| Retrieving SNP information annotations...
>
>
> UflSnpInformation:
>
>
> Name: GenomeWideSNP_6
>
>
> Tags: Full,na33,hg19,dbSNP137,HB20140118
>
>
> Full name: GenomeWideSNP_6,Full,na33,hg19,dbSNP137,HB20140118
>
>
> Pathname:
> annotationData/chipTypes/GenomeWideSNP_6/GenomeWideSNP_6,Full,na33,hg19,dbSNP137,HB20140118.ufl
>
>
> File size: 7.18 MiB (7526422 bytes)
>
>
> RAM: 0.00 MB
>
>
> Chip type: GenomeWideSNP_6,Full
>
>
> Number of enzymes: 2
>
>
> 20160713 12:51:10| Retrieving SNP information annotations...done
>
>
> 20160713 12:51:10| Identifying the subset used to fit normalization
> function(s)...
>
>
> 20160713 12:51:10| Identifying units that are SNP and CN probes...
>
>
> UflSnpInformation:
>
>
> Name: GenomeWideSNP_6
>
>
> Tags: Full,na33,hg19,dbSNP137,HB20140118
>
>
> Full name: GenomeWideSNP_6,Full,na33,hg19,dbSNP137,HB20140118
>
>
> Pathname:
> annotationData/chipTypes/GenomeWideSNP_6/GenomeWideSNP_6,Full,na33,hg19,dbSNP137,HB20140118.ufl
>
>
> File size: 7.18 MiB (7526422 bytes)
>
>
> RAM: 0.00 MB
>
>
> Chip type: GenomeWideSNP_6,Full
>
>
> Number of enzymes: 2
>
>
> 20160713 12:51:10| Identifying SNPs and CN probes...
>
>
> types
>
>
> 1 2 5
>
>
> 621 934968 945826
>
>
> 20160713 12:51:11| units:
>
>
> int [1:1880794] 622 623 624 625 626 627 628 629 630 631 ...
>
>
> 20160713 12:51:11| Identifying SNPs and CN probes...done
>
>
> 20160713 12:51:11| Identify subset of units from genome information...
>
>
> 20160713 12:51:11| subsetToFit: -XY
>
>
> UgpGenomeInformation:
>
>
> Name: GenomeWideSNP_6
>
>
> Tags: Full,na33,hg19,dbSNP137,HB20140118
>
>
> Full name: GenomeWideSNP_6,Full,na33,hg19,dbSNP137,HB20140118
>
>
> Pathname:
> annotationData/chipTypes/GenomeWideSNP_6/GenomeWideSNP_6,Full,na33,hg19,dbSNP137,HB20140118.ugp
>
>
> File size: 8.97 MiB (9407882 bytes)
>
>
> RAM: 0.00 MB
>
>
> Chip type: GenomeWideSNP_6,Full
>
>
> 20160713 12:51:18| Units to exclude:
>
>
> int [1:96544] 61101 61102 61103 61104 61105 61106 61107 61108 61109 61110
> ...
>
>
> 20160713 12:51:19| Units to include:
>
>
> int [1:1784871] 1 2 3 4 5 6 7 8 9 10 ...
>
>
> 20160713 12:51:19| Identify subset of units from genome information...done
>
>
> 20160713 12:51:19| Reading fragment lengths...
>
>
> 20160713 12:51:19| Reading and filtering fragment lengths...
>
>
> 20160713 12:51:19| Reading fragment lengths...
>
>
> UflSnpInformation:
>
>
> Name: GenomeWideSNP_6
>
>
> Tags: Full,na33,hg19,dbSNP137,HB20140118
>
>
> Full name: GenomeWideSNP_6,Full,na33,hg19,dbSNP137,HB20140118
>
>
> Pathname:
> annotationData/chipTypes/GenomeWideSNP_6/GenomeWideSNP_6,Full,na33,hg19,dbSNP137,HB20140118.ufl
>
>
> File size: 7.18 MiB (7526422 bytes)
>
>
> RAM: 0.00 MB
>
>
> Chip type: GenomeWideSNP_6,Full
>
>
> Number of enzymes: 2
>
>
> 20160713 12:51:26| Summary of non-filtered fragment lengths:
>
>
> int [1:1880794, 1:2] 395 4056 633 831