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

ngsplot error #68

Open
amitpande74 opened this issue Jun 29, 2017 · 3 comments
Open

ngsplot error #68

amitpande74 opened this issue Jun 29, 2017 · 3 comments

Comments

@amitpande74
Copy link

Hi,
ngsplot gives me an error
Configuring variables...Error in CheckRegionAllowed(reg2plot, default.tbl) :
Unknown region specified. Must be one of: bed
Execution halted
when I use -R flag with tss or genebody etc....but no errors when I specify my bed file.
Can someone help.

@clip78
Copy link

clip78 commented May 16, 2018

Adding a fix here to an old issue in case anyone else runs into it.

If you try to install a database and the ngsplotdb.py script is run using python3, it will error and not install completely. Then, when you run ngs.plot.r it cannot find tss in the database.

In the ngsplotdb.py and setTableDefaults.py files change the first line from
#!/usr/bin/env python

to

#!/usr/bin/env python2

This will ensure the scripts are run with py2.

@deebhar
Copy link

deebhar commented Jun 12, 2019

Hello

I have tried this solution but still I am getting the error when I am using tss or tes. Please suggest a solution.

@aartrama
Copy link
Member

This error means that the genome's database is corrupted. Reinstall the database using ngsplotdb.py install ..., and make sure that all InstalledFeatures are present (cgi,exon,genebody,tss,tes) using 'ngsplotdb.py list' after installation.

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

4 participants