Comments (16)
Ah thanks a lot for reporting! In order for me to reproduce the bug, would it be possible for you to share the variant set (VCF) with me somehow? And build (grch37/grch38) and config file?
best,
Sigve
from cpsr.
Hi Sigven,
This was on your example vcf in the CPSR-0.5.0 build
from cpsr.
Got it. Will test later! Thanks again.
best,
Sigve
from cpsr.
Just looking at the help function for filter_slider, it looks like the argument 'min', 'max' does not exist. Maybe dragRange would work:
crosstalk::filter_slider("CLINVAR_REVIEW_STATUS_STARS", "ClinVar review status stars", variants_class5_1, ~CLINVAR_REVIEW_STATUS_STARS, ticks = T, dragRange = range(CLINVAR_REVIEW_STARS)) #not tested
regards,
Ridwan
from cpsr.
Hm. A bit strange. Ran the example now, and it works (Dockerized). If you look at the commit comment for the man
directory at https://github.com/rstudio/crosstalk, it seems it has been added to the help text also? But that seem to be committed quite long time a go..
Will make a push to dev for you to test on your local installation.
best,
Sigve
from cpsr.
It might be that the install_no_docker
version (i.e. conda) installs the crosstalk
package from CRAN (1.0.0) and not the updated version on GitHub (1.0.1). Could that be the reason, @vladsaveliev?
from cpsr.
Yes that looks to be the reason. I just had a look at the packages suggested in a fresh install of the conda environment it say: conda-forge/noarch::r-crosstalk-1.0.0-r35h6115d3f_1002. Curiously, I had an error of the following packages not existing when attempting to run for the first time.
- BSgenome.Hsapiens.UCSC.hg38
- BSgenome.Hsapiens.UCSC.hg19
Sorry I didn't take a screenshot at the time of the error as both packages a clearly listed in the yaml but for some reason are not downloaded/installed in the condo environment.
from cpsr.
Huh, thanks for the forensics! I will modify the conda recipe to use the GitHub version of crosstalk
(or just dump the conda version)
Regarding the BSGenome packages, I remember having some issues with them too. I will just install them directly in the recipe from bioconductor instead of using conda versions, that should solve the problem.
from cpsr.
Hmm, it looks like though GitHub has 1.0.0 as well?
If PCGR needs some unreleased features, one way would be to build our own package for crosstalk under the pcgr channel. Happy to do that (I think I already did it once for the condarized version, before rstudio/crosstalk#56 was merged)
from cpsr.
Alright, updated the recipes and pushed pcgr==0.8.3.1 and cpsr==0.5.1.2 into anaconda. This versions use Crosstalk from GitHub which fixes this issue. Also I'm not having the BSGenome errors, but let me know if it happens to you again.
To update:
conda install -c pcgr "pcgr>=0.8.3.1" "cpsr>=0.5.1.2"
from cpsr.
Hi Vlad,
when attempting to update using:
conda install -c pcgr "pcgr>=0.8.3.1" "cpsr>=0.5.1.2"
$ conda install -c pcgr "pcgr>=0.8.3.1" "cpsr>=0.5.1.2"
Collecting package metadata: done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- cpsr[version='>=0.5.1.2'] -> r-ggpubr
Current channels:
- https://conda.anaconda.org/pcgr/linux-64
- https://conda.anaconda.org/pcgr/noarch
- https://conda.anaconda.org/bioconda/linux-64
- https://conda.anaconda.org/bioconda/noarch
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/linux-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
Does this indicate that conda-forge channel does not exist as a list of channels?
So I installed ggpubr:
conda install -c conda-forge r-ggpubr
Collecting package metadata: done
Solving environment: done
and then tried updating cpsr
$ conda install -c pcgr "cpsr>=0.5.1.2"
Collecting package metadata: done
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- cpsr[version='>=0.5.1.2']
Use "conda search <package> --info" to see the dependencies for each package.
$ conda search cpsr --info
Loading channels: done
No match found for: cpsr. Search: *cpsr*
r-icpsrdata 0.4.0 r36h6115d3f_0
-------------------------------
file name : r-icpsrdata-0.4.0-r36h6115d3f_0.tar.bz2
name : r-icpsrdata
version : 0.4.0
build : r36h6115d3f_0
build number: 0
size : 428 KB
license : MIT
subdir : noarch
url : https://repo.anaconda.com/pkgs/r/noarch/r-icpsrdata-0.4.0-r36h6115d3f_0.tar.bz2
md5 : 0470d469c698fef23fb71d11e9e0e1d5
timestamp : 2019-09-12 21:29:34 UTC
dependencies:
- r-base >=3.6,<3.7.0a0
- r-httr
- r-purrr
- r-rvest
- _r-mutex 1.* anacondar_1
but cpsr is listed when running conda list
from cpsr.
Ah, sorry @ridwan-shaikh, I already have conda-forge and bioconda in my .condrc and that's why didn't bother adding them into the command line. The correct one should be:
conda install -c pcgr -c conda-forge -c bioconda "pcgr>=0.8.3.1" "cpsr>=0.5.1.2"
Worked for me, can you try? If it errors with UnsatisfiableError again, can you try installing into a clean env please? (conda create -n pcgr -c pcgr -c conda-forge -c bioconda "pcgr>=0.8.3.1" "cpsr>=0.5.1.2"
) Just for a clean experiment.
UPD: Though hold on a sec, I have a problem with this package version still calling the older crosstalk, looking into it now
from cpsr.
Hi Vlad,
yes adding the correct channels helps to update to the latest cpsr version.
For testing purposes i tried a fresh install too, to see what crosstalk is added and you're right, cross talk remains at v1.0.0.
from cpsr.
Sorted it out. Conda details. Turns out I need to update crosstalk in post-link.sh
script instead of build.sh
, to make sure it's executed on a host machine. Anyway. Try updating? :)
conda install -c pcgr -c conda-forge -c bioconda "pcgr==0.8.3.2" "cpsr==0.5.1.3"
from cpsr.
Hi Vlad,
Running the above command results in:
added / updated specs:
- cpsr==0.5.1.3
- pcgr==0.8.3.2
The following packages will be downloaded:
package | build
---------------------------|-----------------
cpsr-0.5.1.3 | 0 10 KB pcgr
------------------------------------------------------------
Total: 10 KB
The following NEW packages will be INSTALLED:
cpsr pcgr/linux-64::cpsr-0.5.1.3-0
r-ggpubr conda-forge/noarch::r-ggpubr-0.2.3-r35h6115d3f_0
r-ggrepel conda-forge/linux-64::r-ggrepel-0.8.1-r35h0357c0b_1
r-ggsci conda-forge/noarch::r-ggsci-2.9-r35h6115d3f_1002
r-ggsignif conda-forge/noarch::r-ggsignif-0.6.0-r35h6115d3f_0
r-polynom conda-forge/noarch::r-polynom-1.4_0-r35h6115d3f_1
r-upsetr conda-forge/noarch::r-upsetr-1.4.0-r35h6115d3f_1
and conda list
results in:
r-crosstalk 1.0.0 r35h6115d3f_1002 conda-forge
Does not look like it has updated crosstalk. To get around it, I have just been installing the github version of crosstalk through R
devtools::install_github("https://github.com/rstudio/crosstalk.git")
from cpsr.
Ridwan,
conda list
will show 1.0.0
because 1.0.1
does not exist on conda (and neither on cran - it wasn't released). My change to the pcgr
package was to actually run devtools::install_github("https://github.com/rstudio/crosstalk.git")
automatically in the end of the installation. So 1.0.1 should be reflected if you run R -e "library(crosstalk); sessionInfo();"
(regardless of the conda version). Though if it didn't work for you, I might have screwed something up and need to investigate further. Wondering if you could try installing the package a new env and checking sessionInfo?
Also I'm wondering why did it only updated cpsr
, but not the pcgr
package as well. Did you update the packages in 2 steps by any chance?
from cpsr.
Related Issues (20)
- Custom panel HOT 11
- ERROR while running HOT 3
- cpsr_validate_input.py: error: argument vcf_validation: invalid int value: '/home/zdjzyx01/biosoft/cpsr/cpsr.toml' HOT 11
- Missed variant due to transcript pick? HOT 9
- cpsr_configuration_default.toml missing from PCGR data HOT 2
- Error: Problem with `mutate()` input `ACMG_PVS1_1`. HOT 4
- Error in loadNamespace(name) : there is no package called 'reactable' HOT 2
- x object 'GWAS_CITATION' not found HOT 3
- ImportError: No module named toml HOT 1
- minor typo in src/cpsr_functions.R HOT 1
- Error: `x` and `y` must share the same src HOT 5
- genes being excluded from CPSR exploratory track HOT 5
- Not able to download the data bundles (404 Error) HOT 2
- ACMG guideline updated to version 3.0. New genes were added to the secondary finding gene list. HOT 2
- make infromation like ckb to cpsr HOT 4
- Encounter the error in cpsr-report-generation() HOT 3
- Installation Instructions Only Describe Conda HOT 2
- Add sif file for running on an HPC HOT 1
- Biomarker variants not in Pathogenic/Likely Pathogenic section of report HOT 1
- adding clones IDs + child clone emerging outside parent clone HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpsr.