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

rnbeads_analysis.py execution halted #16

Open
FleurGaBru opened this issue Nov 7, 2017 · 2 comments
Open

rnbeads_analysis.py execution halted #16

FleurGaBru opened this issue Nov 7, 2017 · 2 comments

Comments

@FleurGaBru
Copy link

I try to run the following code:

python2 epiGBS/RnBeads/rnbeads_analysis.py \
add_and_analysis \
-f ./output_DMP_Scabi/ref.fa \
-b ./output_DMP_Scabi/methylation.filtered.bed \
-sf Scabi.csv \
-tmp /tmp/ \
-s Scabi \
-g na \
-v 0.1 \
-ac na \
-mr 3 \
--context CHH

Before execution I installed the BSgenome package using conda:

conda install bioconductor-bsgenome

I get the following error (for the full terminal output please check the attached file:

Traceback (most recent call last):
  File "epiGBS/RnBeads/rnbeads_analysis.py", line 733, in <module>
    main()
  File "epiGBS/RnBeads/rnbeads_analysis.py", line 65, in main
    forge_script = forge_genome_file(description, args)
  File "epiGBS/RnBeads/rnbeads_analysis.py", line 502, in forge_genome_file
    run_subprocess(command, log_message)  # Runs the appended template script.
  File "epiGBS/RnBeads/rnbeads_analysis.py", line 134, in run_subprocess
    raise Exception('R script returned error\n%s' % stderr)
Exception: R script returned error
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
Error in .copySeqFile(seqfile_name, seqs_srcdir, seqs_destdir, verbose = verbose) :
  FAILED
Calls: forgeBSgenomeDataPkg ... forgeBSgenomeDataPkg -> forgeSeqFiles -> .copySeqFile
In addition: Warning message:
In file.create(to[okay]) :
  cannot create file '/tmp//BSgenome.Scabina.NIOO.v0.1/inst/extdata/single_sequences.2bit', reason 'No such file or directory'
Execution halted

I can see that the output.2bit file does not exist (but output.fasta and output.bed do). Manually I can make the file by

/mnt/nfs/bioinfdata/home/NIOO/fleurg/projects/epiGBS_workshop/epiGBS/RnBeads/templates/faToTwoBit_linux /tmp/output.fasta /tmp/output.2bit

But when executing the python script the output.2bit file will disappear again.

Can you help fixing this issue?

temp.txt

@thomasvangurp
Copy link
Owner

thomasvangurp commented Nov 7, 2017 via email

@FleurGaBru
Copy link
Author

/tmp/BSgenome.Scabina.NIOO.v0.1 does exist. I tried to add inst/extdata manually but that dit not solve the problem.
I hope it is just an easy thing to fix!

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