Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR : Somtic samples run #49

Open
ajain195 opened this issue Aug 11, 2024 · 3 comments
Open

ERROR : Somtic samples run #49

ajain195 opened this issue Aug 11, 2024 · 3 comments

Comments

@ajain195
Copy link

Rscript clinCNV.R --normal /home/akkey/Akshay/wellytics/ClinCNV/samples/normal.cov --tumor /home/akkey/Akshay/wellytics/ClinCNV/samples/tumor.cov --out /home/akkey/Akshay/wellytics/ClinCNV/result --bed /home/akkey/Akshay/wellytics/ClinCNV/samples/bed_file.bed --pair /home/akkey/Akshay/wellytics/ClinCNV/samples/pairs.txt --folderWithScript /home/akkey/Akshay/wellytics/ClinCNV
Loading required package: iterators
Loading required package: parallel
Package 'mclust' version 6.1.1
Type 'citation("mclust")' for citing this R package in publications.
Loading required package: R.oo
Loading required package: R.methodsS3
R.methodsS3 v1.8.2 (2022-06-13 22:00:14 UTC) successfully loaded. See ?R.methodsS3 for help.
R.oo v1.26.0 (2024-01-24 05:12:50 UTC) successfully loaded. See ?R.oo for help.

Attaching package: ‘R.oo’

The following object is masked from ‘package:R.methodsS3’:

throw

The following objects are masked from ‘package:methods’:

getClasses, getMethods

The following objects are masked from ‘package:base’:

attach, detach, load, save

R.utils v2.12.3 (2023-11-18 01:00:02 UTC) successfully loaded. See ?R.utils for help.

Attaching package: ‘R.utils’

The following object is masked from ‘package:utils’:

timestamp

The following objects are masked from ‘package:base’:

cat, commandArgs, getOption, isOpen, nullfile, parse, warnings

Attaching package: ‘dbscan’

The following object is masked from ‘package:stats’:

as.dendrogram

[1] "We run script located in folder /home/akkey/Akshay/wellytics/ClinCNV . Please, specify ABSOLUTE paths, relative paths do not work for every machine. If everything crashes, please, check the correctness of this path first."
[1] "Tumor file was provided. Framework is switched to somatic."
[1] "START cluster allocation."
[1] "Cluster allocated."
[1] "END cluster allocation."
[1] "We are started with reading the coverage files and bed files 2024-08-11 23:03:06"
[1] "Started basic quality filtering. 2024-08-11 23:03:09"
[1] "Amount of regions after filtering of 0-covered regions 100"
[1] "Normalization with GC and length starts. 2024-08-11 23:03:24"
[1] "Percentage of regions remained after GC correction: 1"
[1] "Percentage of regions remained after GC correction: 1"
Error in { : task 1 failed - "dim(X) must have a positive length"
Calls: gc_and_sample_size_normalise -> %dopar% ->
Execution halted

@GermanDemidov
Copy link
Collaborator

Can you send the top-5 lines from tumor.cov and normal.cov lines?

@ajain195
Copy link
Author

ajain195 commented Aug 12, 2024

Sure ,

Hi german ,

i tried three different way

first

Data : coverages_normal.cov ( split into normal and tumor )
screenshot attached
bedfile : bed_file.bed
Screenshot from 2024-08-12 12-53-36

second

normal data : coverages_normal.cov
tumor data : NA06989_coverage.cov
bedfile : bed_file.bed
Screenshot from 2024-08-12 12-54-57

Third

annotate with hg19.chrom.sizes

Normal data : NA06986.coverage.cov
tumor data : NA06989_coverage.cov
bedfile : gcAnnotated.preparedBedHg19.bin1000.bed

Screenshot from 2024-08-12 12-57-39

For first and second facing same error

but for third error facing :
Screenshot from 2024-08-12 13-02-49

in above screenshot using screen, so result and the command i give shows like this to make it easy for uh to understand

@GermanDemidov
Copy link
Collaborator

Thanks @ajain195 - you need to merge the tumors into a cohort too =) ClinCNV estimates the variability of each "tumor/normal" value. If you have only one tumor sample, you can't esimate how variable the ratio between tumors and normals is. So - add more tumors to your analysis (more the merrier) and it should work. The error message was saying "something which was supposed to be a matrix is actually a vector".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants