Skip to content
New issue

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

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

Already on GitHub? # to your account

Issue running PIQ #1

Open
rm1238 opened this issue Apr 19, 2021 · 1 comment
Open

Issue running PIQ #1

rm1238 opened this issue Apr 19, 2021 · 1 comment

Comments

@rm1238
Copy link

rm1238 commented Apr 19, 2021

Hello,

I am having trouble trying to run PIQ. I am trying to run the test with a single motif with this command:

Rscript PIQ/pwmmatch.exact.r PIQ/common.global.r PIQ/pwms/JASPAR2020_CORE_vertebrates_non-redundant_pfms_jaspar.txt 8 /Volumes/CHACAL_0/8.ANALYSIS/MERGE/PIQ/motif.matches/

I get the following, which seems to be the correct reading of the arguments:

args <- commandArgs(trailingOnly = TRUE)
print(args)
[1] "PIQ/common.global.r"
[2] "PIQ/pwms/JASPAR2020_CORE_vertebrates_non-redundant_pfms_jaspar.txt"
[3] "8"
[4] "/Volumes/CHACAL_0/8.ANALYSIS/MERGE/PIQ/motif.matches/"

commonfile = args[1]
jaspardir = args[2]
pwmid = as.double(args[3])
outdir = args[4]

outdir=paste0(outdir,'/')
source(commonfile)

Then, this error shows up:

Error: With R version 3.5 or greater, install Bioconductor packages using BiocManager; see https://bioconductor.org/install

I updated all the core Bioconductor packages except 'cluster', 'mgcv’, and ‘reactome.db’, which for some reason I am unable to update due to a compiling error that I have been unable to sort out yet.

These are the versions I am currently running:
Bioconductor version 3.9 , R 3.6.3
If you could provide any advice as to how I can get PIQ to work, it would be great.

Thank you for your time,

Ricardo

@lindsaynhayes
Copy link

lindsaynhayes commented Sep 22, 2021

@rm1238 I updated line 7 of common.global.r to new.repos["CRAN"] <- "http://cran.us.r-project.org/"
the ucla link was broken

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

No branches or pull requests

2 participants