-
Notifications
You must be signed in to change notification settings - Fork 13
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
Help to identify this error. #15
Comments
Hello, First of all, don't use the old script ! The performance is not as good as the latest version and to some extent could introduce wrong calls. Secondly, I am unsure of how it behaves with the way you wrote the relative paths. Try : Thridly, how did you generate you input, with what software ? Please provide an example ! I insist that the latest scripts should really be your primary focus. If you can use : Best regards, |
Okay, i will try align to hg19 then. Section of my input: |
The old script doesn't work with the chrX, it was added after in the lastest versions. "QDNAseq_from_bam_chrX.R" work for hg19 (default of QDNAseq) and a small adaptation should be made for hg38 ! Going with hg19 and "QDNAseq_from_bam_no_chrX.R" followed by "shallowHRD_hg19_1.13_QDNAseq_no_chrX.R" should make the run smooth. Keep me posted! Alexandre |
Using hg19 did solve my problems. Thank you wery much. |
Hello yes it is possible! I'm pretty sure it won't change much regarding the profiles but you can remove everything but the chr 1-22 after alignement. Best, |
Hello, Do you have other questions or can I close this issue ? Best, |
Yes, you can close it. Thank you for the help. Best, |
Hello, I'm new to Rscripts using terminal and shallowHRD. I tried running the old_hg38 script but get these error messages. Any help on how to solve them would be appreciated.
(shallowHRD) root@srvodeappgsq02:/projekt/G150-2023-Functional-Genomics/shallowHRD/shallowHRD# Rscript old_versions/shallowHRD_hg
38_old.R QDNAseq/105025949544_filtered.bam_ratio.txt test cytoband_adapted_hg38.csv
Loading required package: ggplot2
Loading required package: stats4
Loading required package: BiocGenerics
Attaching package: ‘BiocGenerics’
The following object is masked from ‘package:gridExtra’:
The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Loading required package: S4Vectors
Attaching package: ‘S4Vectors’
The following objects are masked from ‘package:base’:
Loading required package: IRanges
Loading required package: GenomeInfoDb
Sample : 105025949544_filtered
Warning message:
NaNs produced
Warning message:
NaNs produced
on going...
Error in X[i, 5] : subscript out of bounds
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'diff': argument 'x' must be numeric
Calls: localMinima -> diff -> density -> density -> density.default
Error in density.default(test) : argument 'x' must be numeric
Calls: density -> density -> density.default
Don't know how to automatically pick scale for object of type <data.frame>. Defaulting to continuous.
Error in
geom_vline()
:! Problem while computing aesthetics.
ℹ Error occurred in the 2nd layer.
Caused by error in
FUN()
:! object 'Threshold' not found
Backtrace:
▆
Warning message:$<- -> $ <-.data.frame
In cbind(...) :
number of rows of result is not a multiple of vector length (arg 1)
Error: object 'Threshold' not found
Error: object 'THR' not found
Error: object 'THR' not found
Error in
[<-
(*tmp*
, 1, c_conf, value = 1) : subscript out of boundsCalls: breakSmoothToLGA -> getSegmentID
on going...
Error in
$<-.data.frame
(*tmp*
, num_line, value = 1:0) :replacement has 2 rows, data has 0
Calls:
Error in
geom_point()
:! Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error in
FUN()
:! object 'num_line' not found
Backtrace:
▆
Error in tmp[k, c_chr + 1] : subscript out of bounds
Calls: LGA_control
Error in tmp[k, c_chr + 1] : subscript out of bounds
Calls: LGA_control
Error in eval(quote(list(...)), env) : object 'WC' not found
Calls: cbind -> standardGeneric -> eval -> eval -> eval
Error in names(x) <- value :
'names' attribute [9] must be the same length as the vector [0]
Calls: colnames<- -> colnames<-
Error in if (test[l, 9] == 0) { : argument is of length zero
Warning message:
Using
size
aesthetic for lines was deprecated in ggplot2 3.4.0.ℹ Please use
linewidth
instead.Error in if (higlight_CCNE1[1, 5] >= 0.5) { :
missing value where TRUE/FALSE needed
Error: object 'WC' not found
The text was updated successfully, but these errors were encountered: