error: your ngs.plot database may be corrupted.

650 views
Skip to first unread message

Denis Seyres

unread,
Mar 7, 2014, 6:33:29 PM3/7/14
to ngsplot...@googlegroups.com
Hi,

I would to use dm3 genome; I found it, I downloaded it but I have this error when I want to install it, or just list installed genomes.
Could you help me?
I have already re-re-downloaded files..

thanks

best

Denis

ningyi shao

unread,
Mar 7, 2014, 9:43:55 PM3/7/14
to ngsplot...@googlegroups.com
Hi Denis,

Would you mind pasting the command you used and the exact output in the installation?
And could you paste the output of the following command?
ngsplotdb.py list

Thank you,

Ning-Yi


--
You received this message because you are subscribed to the Google Groups "ngsplot-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngsplot-discu...@googlegroups.com.
To post to this group, send email to ngsplot...@googlegroups.com.
Visit this group at http://groups.google.com/group/ngsplot-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/ngsplot-discuss/2fda3262-08a5-4531-84de-39ba068ac901%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Denis Seyres

unread,
Mar 8, 2014, 7:54:03 AM3/8/14
to ngsplot...@googlegroups.com
Hi,

here is the command and the output

> ./bin/ngsplotdb.py install ngsplotdb_dm3_71_1.11.tar.gz
Extracting information from package... contains 42 tables.
Open ~/software/ngsplot/database/gn_list.txt error: your ngs.plot database may be corrupted.

> ngsplotdb.py list
Open ~/software/ngsplot/database/gn_list.txt error: your ngs.plot database may be corrupted.

Thanks

Denis

Li Shen

unread,
Mar 8, 2014, 10:28:39 AM3/8/14
to ngsplot-discuss
Denis,

Can you make sure this "~/software/ngsplot/database/gn_list.txt" actually exists? If it is somehow corrupted, a re-installation might just solve the problem. 

Li




For more options, visit https://groups.google.com/d/optout.



--
Li Shen, Ph.D. Computer Science
Assistant Professor
Department of Neuroscience
Icahn School of Medicine at Mount Sinai
New York, NY 10029
#################
ngs.plot - the coolest NGS plotting tool: https://code.google.com/p/ngsplot/
Want ChIP-seq differential analysis? Use: https://code.google.com/p/diffreps/

Denis Seyres

unread,
Mar 9, 2014, 5:35:26 PM3/9/14
to ngsplot...@googlegroups.com
ok it was a problem with my ./bash_profile and the NGSPLOT variable.
thanks. Now, let's try!

Denis

Federico Gaiti

unread,
Mar 3, 2015, 3:12:06 AM3/3/15
to ngsplot...@googlegroups.com
Hi Denis,

I am actually encountering the same issue. Could you be more specific in explaining what was your problem with bash_profile and NGSPLOT variable? And how did you solve it? 

I have the feeling it can be the same issue because I have successfully installed all the packages and ngs.plot.r command is working. I just can't make the ngsplotdb.py works. I did this: 
 
[federico@ago-qris ~]$ ngsplotdb.py install ngsplotdb_Aqu21_0_3.00.tar.gz
File "/opsin/u/federico/TOOLS/ngsplot/bin/ngsplotdb.py", line 74
print "Open {0} error: your ngs.plot database may be corrupted.".\
                                                                   ^
 SyntaxError: invalid syntax
 
Thanks
Federico

Li Shen

unread,
Mar 3, 2015, 11:51:08 AM3/3/15
to ngsplot-discuss
Where does your NGSPLOT point to?

Li


For more options, visit https://groups.google.com/d/optout.

Federico Gaiti

unread,
Mar 3, 2015, 4:48:38 PM3/3/15
to ngsplot...@googlegroups.com
Hi Li,

it is pointing to the folder ngsplot is installed in. 

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

export PATH=~/TOOLS/ngsplot/bin:$PATH
export NGSPLOT=~/TOOLS/ngsplot

Cheers
Federico
You received this message because you are subscribed to a topic in the Google Groups "ngsplot-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngsplot-discuss/GzCuX-WmLPE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngsplot-discu...@googlegroups.com.

To post to this group, send email to ngsplot...@googlegroups.com.
Visit this group at http://groups.google.com/group/ngsplot-discuss.

Li Shen

unread,
Mar 4, 2015, 10:51:48 AM3/4/15
to ngsplot-discuss
Is the error specific to this genome file? What about "ngsplotdb.py list"?

Li



For more options, visit https://groups.google.com/d/optout.

Federico Gaiti

unread,
Mar 4, 2015, 5:27:58 PM3/4/15
to ngsplot...@googlegroups.com
It seems the error is not specific to the genome. I also reinstalled everything and re-downloaded the genome file. Using “ngsplotdb.py list” I get the same. 

[federico@ago-qris ~]$ ngsplotdb.py list 
 File "/opsin/u/federico/TOOLS/ngsplot/bin/ngsplotdb.py", line 74
    print "Open {0} error: your ngs.plot database may be corrupted.".\
                                                                   ^
SyntaxError: invalid syntax

Any idea? 

Thanks
Federico

Li Shen

unread,
Mar 6, 2015, 10:17:17 AM3/6/15
to ngsplot-discuss
Would you provide more details regarding your machine and system? Such as Linux version, Python version, etc.

Li


For more options, visit https://groups.google.com/d/optout.

Federico Gaiti

unread,
Mar 6, 2015, 8:52:28 PM3/6/15
to ngsplot...@googlegroups.com
Hi Li,

I am using CentOS x86_64 6.4, R 3.1.2 and python 2.7.6. 

I reinstalled python and it seems it’s now working. I was able to install the genome. 

Thanks for help
Federico


Li Shen

unread,
Mar 9, 2015, 10:52:13 PM3/9/15
to ngsplot-discuss
Great. You either reinstall ngs.plot or some other part of your system and it works out just fine...

Li



For more options, visit https://groups.google.com/d/optout.

shimeng...@u.northwestern.edu

unread,
Sep 14, 2017, 5:28:17 PM9/14/17
to ngsplot-discuss
Dear Li,

When installing NGSplot, I have also encountered this problem. 
After installation step and adding the ngsplot file to my path, I ran command: ngsplotdb.py list
Output is as following: 

 File "/Users/slu403/ngsplot/bin/ngsplotdb.py", line 74

    print "Open {0} error: your ngs.plot database may be corrupted.".\

                                                                   ^

SyntaxError: Missing parentheses in call to 'print'


Do you know what this problem mean? 

Thank you so much!

Best,
Shimeng Liu
To unsubscribe from this group and stop receiving emails from it, send an email to ngsplot-discuss+unsub...@googlegroups.com.

To post to this group, send email to ngsplot...@googlegroups.com.
Visit this group at http://groups.google.com/group/ngsplot-discuss.



-- 
Li Shen, Ph.D. Computer Science
Assistant Professor
Department of Neuroscience
Icahn School of Medicine at Mount Sinai
New York, NY 10029
#################
ngs.plot - the coolest NGS plotting tool: https://code.google.com/p/ngsplot/
Want ChIP-seq differential analysis? Use: https://code.google.com/p/diffreps/

-- 
You received this message because you are subscribed to a topic in the Google Groups "ngsplot-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngsplot-discuss/GzCuX-WmLPE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngsplot-discuss+unsub...@googlegroups.com.

Talon Trecek

unread,
Nov 14, 2017, 10:18:37 AM11/14/17
to ngsplot-discuss
Hey Shimeng,

The reason for me was that this python script has the shebang  #!/usr/bin/env python
This means python will be called from here

Check the python version the script is calling on by typing:
/usr/bin/env python -V

If its python 3, thats the reason it failing.
In summary adding the bellow line to ~/.bashrc or ~/.bash_profile then sourcing or restarting terminal worked for me.
export -n PATH

I don't know how this PATH problem arose in the first place..


Thanks,
Talon
Reply all
Reply to author
Forward
0 new messages