When I use the following command, it error was listed as following. sqlite3.OperationalError: database or disk is full
>>> from pyGeno.importation.Genomes import *
>>> importGenome('/home/yeh/program/Python-2.7.13/lib/python2.7/site-packages/pyGeno/bootstrap_data/genomes/Human.GRCh37.75/')
Importing genome package: /home/yeh/program/Python-2.7.13/lib/python2.7/site-packages/pyGeno/bootstrap_data/genomes/Human.GRCh37.75/... (This may take a while)
Importing:
description: Human reference genome
maintainer: Tariq Daouda \ - Chr\ progress[~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-:>] 100.00% (2828313/2828312) runtime: 21.471min, remaining: -0.000sc, avg: 0.000sc | progress[~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-:>] 104.00% (26/25) runtime: 0.003sc, remaining: -0.000sc, avg: 0.000sc saving genome object... restoring core indexes... Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/yeh/program/Python-2.7.13/lib/python2.7/site-packages/pyGeno/importation/Genomes.py", line 179, in importGenome chros = _importGenomeObjects(gtfFile, chromosomeSet, genome, batchSize, verbose) File "/home/yeh/program/Python-2.7.13/lib/python2.7/site-packages/pyGeno/importation/Genomes.py", line 419, in _importGenomeObjects
Transcript.ensureGlobalIndex('exons')
File "/home/yeh/program/Python-2.7.13/lib/python2.7/site-packages/pyGeno/pyGenoObjectBases.py", line 223, in ensureGlobalIndex
cls._wrapped_class.ensureIndex(fields)
File "build/bdist.linux-x86_64/egg/rabaDB/Raba.py", line 510, in ensureIndex
File "build/bdist.linux-x86_64/egg/rabaDB/rabaSetup.py", line 138, in createIndex
File "build/bdist.linux-x86_64/egg/rabaDB/rabaSetup.py", line 224, in execute
sqlite3.OperationalError: database or disk is full
This sounded like a cool tool but I was unable to run it at all. Your installation fails on my machine right away
https://github.com/tariqdaouda/pyGeno/issues/2
also I strongly recommend disconnecting the data download from the python code - python is not all that well suited to downloading massive datasets - or at least provide alternatives via http rsync or bittorrent sources for the download of the data.
Thank you for bringing that up, the pip version was lagging behind. It is fixed now but I recommend the git version.
I had a look at the issue, the problem was that the folders containing the datawraps were not included in the pip version. But the rest of the installation went fine and you can import datawraps using the importation module.
I would nonetheless recommend that you either update pyGeno to the latest pip version to get the missing datawraps:
Or switch to the git version to get the latest bleeding edge updates.
Python is used for downloads to avoid dependencies to third party software, in order to simplify the installation as much as possible. That is also the reason why pyGeno comes with a set of parsers.
The datawraps shipped with the bootstrap module only contain links to data made available by third parties such as Ensembl and dbSNP. But you also have the possibility to create your own datawraps by downloading the files independently and including them into the tar.gz archive, as explained here and here
That being said, pyGeno has been tested many times with both Ensembl and dbSNP, and we never suffered any problem due to the initial downloads.
Thanks
Thanks for the fix. I like the concepts behind this pacakge and want to test it out in practice. More feedback to follow.
Thank you, your feedback is greatly appreciated.