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

ngsplotdb.py install not working #93

Open
niekwit opened this issue Sep 2, 2021 · 0 comments
Open

ngsplotdb.py install not working #93

niekwit opened this issue Sep 2, 2021 · 0 comments

Comments

@niekwit
Copy link

niekwit commented Sep 2, 2021

I wanted to add mm9 to the ngsplot db, so I downloaded the relevant file from your Google drive and ran:

$ python2 ~/Documents/scripts/ngsplot-2.61/ngsplot/bin/ngsplotdb.py install ~/Downloads/ngsplotdb_mm9_67_3.00.tar.gz 

But I get this error:

Extracting information from package... contains 87 tables.
Will install new genome mm9: Ensembl=> v67.0; ngs.plot=> v3.0. Continue?(y/n): y
Installing new genome...Traceback (most recent call last):
  File "/home/niek/Documents/scripts/ngsplot-2.61/ngsplot/bin/setTableDefaults.py", line 36, in <module>
    in_f = file(sys.argv[1])
NameError: name 'file' is not defined
Error in read.table(default.tbl, header = TRUE, sep = "\t", blank.lines.skip = TRUE,  : 
  no lines available in input
Execution halted
 Done

When I check the db list with:

$ python2 ~/Documents/scripts/ngsplot-2.61/ngsplot/bin/ngsplotdb.py list
ID   Assembly Species      EnsVer   NPVer    InstalledFeatures            
hg19 GRCh37   homo_sapiens 75.0     3.0      cgi,exon,genebody,tss,tes    
hg38 GRCh38   homo_sapiens 76.0     3.0      cgi,exon,genebody,tss,tes    
mm9  NCBIM37  mus_musculus 67.0     3.0 

There are no installed features listed with the mm9 genome. It has worked before with other genomes as you can see.
How can I fix this? Thank you.
(edit I am using ngsplot 2.61)

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

1 participant