-
Notifications
You must be signed in to change notification settings - Fork 10
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
Broken CLI : runIchorCNA.R: line 50: Syntaxerror #14
Comments
I discovered this problem recently. I appears that the runIchorCNA.R file for v0.5.0 only contains the run_ichorCNA() function. This means it cannot be run using Rscript. I have tried using the script from v0.3.2. |
Hi @sroener With ichorCNA v0.5, the analysis need to be performed inside R using the Also, you'll need to get a copy of the repTime wig from inst/extdata, e.g. ichorCNA::run_ichorCNA(id = "test19_processed",
tumor_wig = "results/testrun/icorCNA/readcounts/test19_index_processed.hg19.wig",
gcWig = "resources/ichorCNA/gc_hg19_1000kb.wig",
mapWig = "resources/ichorCNA/map_hg19_1000kb.wig",
repTimeWig = "Koren_repTiming_hg38_1000kb.wig", # Get it from "inst/extdata"
normal_panel = "resources/ichorCNA/HD_ULP_PoN_1Mb_median_normAutosome_mapScoreFiltered_median.rds",
centromere = "resources/ichorCNA/GRCh37.p13_centromere_UCSC-gapTable.txt",
ploidy = "c(2,3)",
normal = "c(0.5,0.6,0.7,0.8,0.9)",
maxCN = 5,
scStates = "c(1,3)",
chrs = 'c(1:22,"X")', # default
chrTrain = "c(1:22)", # default
estimateNormal = TRUE, # default
estimatePloidy = TRUE, # default
estimateScPrevalence = TRUE, # default
includeHOMD = FALSE, # default
txnE = 0.9999,
txnStrength = 10000,
plotFileType = "png",
genomeBuild = "hg19",
genomeStyle = "UCSC",
outDir = "results/testrun/icorCNA/test19_processed_hg19", # Folder need to exist
) |
Hi @ycl6 thank you for your answer. Could you provide a little background on what In the past I used ichorCNA in a pipeline using the |
Hi @sroener
The @gavinha can probably explain why the CLI version is dropped (or not have a script to work alongside the current |
It would be very useful to have a working CLI. Otherwise, to work in containers during workflows (e.g. in nextflow, snakemake, WDL, you name it), everyone would need to reinvent the wheel. |
Hi, @ycl6 Best, |
Hi @xiucz You might want to contact @gavinha and ask how he creates the One of the https://github.com/GavinHaLab/ichorCNA/tree/master/inst/extdata |
Hi,
I have been updating my ichorCNA version and now I get the following error:
This happens both with the full command or just with
runIchorCNA.r --help
.Full command:
ichorCNA was installed via bioconda:
The final environment looks like this:
Help would be appreciated!
The text was updated successfully, but these errors were encountered: