I was trying to run the associate test but the error showed up...
mleong@q1prpfs04:~/j6htestVarianttools$ vtools associate variant smoking --discard_variants "%(NA)>0.1" --HDF --method "BurdenBt --name BurdenTest --alternative 2" --group_by refGene.name2 -j 6 --force -v 2
DEBUG:
DEBUG: associate variant smoking --discard_variants %(NA)>0.1 --HDF --method "BurdenBt --name BurdenTest --alternative 2" --group_by refGene.name2 -j 6 --force -v 2
DEBUG: Using temporary directory /tmp/tmpsd5fksxl/_tmp_149688
DEBUG: Select phenotype and covariates using query SELECT sample_id, sample_name, smoking FROM sample LEFT OUTER JOIN filename ON sample.file_id = filename.file_id WHERE smoking IS NOT NULL
INFO: 2504 samples are found
DEBUG: Running query INSERT INTO __asso_tmp SELECT DISTINCT variant.variant_id, 0, refGene.refGene.name2 FROM variant, refGene.__rng_refGene_hg19_chr_txStart_txEnd, refGene.refGene WHERE (variant.bin = refGene.__rng_refGene_hg19_chr_txStart_txEnd.bin AND variant.chr = refGene.__rng_refGene_hg19_chr_txStart_txEnd.chr AND variant.pos >= refGene.__rng_refGene_hg19_chr_txStart_txEnd.start AND variant.pos <= refGene.__rng_refGene_hg19_chr_txStart_txEnd.end ) AND (refGene.refGene.rowid = refGene.__rng_refGene_hg19_chr_txStart_txEnd.range_id);
INFO: Grouping variants by 'refGene.name2', please be patient ...
INFO: 573 groups are found
Process GroupHDFGenerator-5:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association_hdf5.py", line 77, in run
for row in cur.execute(select_group):
vt_sqlite3.OperationalError: unable to open database file
('group time: ', 69.71390271186829)
Testing for association: 0.0% [> ] in 00:00:00Process Phenotype association analysis for a group of variants:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 972, in run
genotype, which, var_info, geno_info = getGenotype_HDF5(self,grp)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association_hdf5.py", line 347, in getGenotype_HDF5
colnames=accessEngine.get_colnames(chr,geneSymbol)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/accessor.py", line 1155, in get_colnames
return group.colnames[:]
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 818, in __getattr__
return self._f_get_child(name)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 698, in _f_get_child
self._g_check_has_child(childname)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 395, in _g_check_has_child
% (self._v_pathname, name))
tables.exceptions.NoSuchNodeError: group ``/chr22/ADM2`` does not have a child named ``colnames``
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 993, in run
except Exception as e:
TypeError: catching classes that do not inherit from BaseException is not allowed
Process Phenotype association analysis for a group of variants:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 972, in run
genotype, which, var_info, geno_info = getGenotype_HDF5(self,grp)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association_hdf5.py", line 347, in getGenotype_HDF5
colnames=accessEngine.get_colnames(chr,geneSymbol)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/accessor.py", line 1155, in get_colnames
return group.colnames[:]
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 818, in __getattr__
return self._f_get_child(name)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 698, in _f_get_child
self._g_check_has_child(childname)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 395, in _g_check_has_child
% (self._v_pathname, name))
tables.exceptions.NoSuchNodeError: group ``/chr22/A4GALT`` does not have a child named ``colnames``
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 993, in run
except Exception as e:
TypeError: catching classes that do not inherit from BaseException is not allowed
Process Phenotype association analysis for a group of variants:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 972, in run
genotype, which, var_info, geno_info = getGenotype_HDF5(self,grp)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association_hdf5.py", line 347, in getGenotype_HDF5
colnames=accessEngine.get_colnames(chr,geneSymbol)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/accessor.py", line 1155, in get_colnames
return group.colnames[:]
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 818, in __getattr__
return self._f_get_child(name)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 698, in _f_get_child
self._g_check_has_child(childname)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 395, in _g_check_has_child
% (self._v_pathname, name))
tables.exceptions.NoSuchNodeError: group ``/chr22/ACR`` does not have a child named ``colnames``
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 993, in run
except Exception as e:
TypeError: catching classes that do not inherit from BaseException is not allowed
Process Phenotype association analysis for a group of variants:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 972, in run
genotype, which, var_info, geno_info = getGenotype_HDF5(self,grp)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association_hdf5.py", line 347, in getGenotype_HDF5
colnames=accessEngine.get_colnames(chr,geneSymbol)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/accessor.py", line 1155, in get_colnames
return group.colnames[:]
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 818, in __getattr__
return self._f_get_child(name)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 698, in _f_get_child
self._g_check_has_child(childname)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 395, in _g_check_has_child
% (self._v_pathname, name))
tables.exceptions.NoSuchNodeError: group ``/chr22/ADORA2A`` does not have a child named ``colnames``
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 993, in run
except Exception as e:
TypeError: catching classes that do not inherit from BaseException is not allowed
Process Phenotype association analysis for a group of variants:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 972, in run
genotype, which, var_info, geno_info = getGenotype_HDF5(self,grp)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association_hdf5.py", line 347, in getGenotype_HDF5
colnames=accessEngine.get_colnames(chr,geneSymbol)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/accessor.py", line 1155, in get_colnames
return group.colnames[:]
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 818, in __getattr__
return self._f_get_child(name)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 698, in _f_get_child
self._g_check_has_child(childname)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 395, in _g_check_has_child
% (self._v_pathname, name))
tables.exceptions.NoSuchNodeError: group ``/chr22/ACO2`` does not have a child named ``colnames``
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 993, in run
except Exception as e:
TypeError: catching classes that do not inherit from BaseException is not allowed
Process Phenotype association analysis for a group of variants:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 972, in run
genotype, which, var_info, geno_info = getGenotype_HDF5(self,grp)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association_hdf5.py", line 347, in getGenotype_HDF5
colnames=accessEngine.get_colnames(chr,geneSymbol)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/accessor.py", line 1155, in get_colnames
return group.colnames[:]
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 818, in __getattr__
return self._f_get_child(name)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 698, in _f_get_child
self._g_check_has_child(childname)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/tables/group.py", line 395, in _g_check_has_child
% (self._v_pathname, name))
tables.exceptions.NoSuchNodeError: group ``/chr22/ADORA2A_AS1`` does not have a child named ``colnames``
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 993, in run
except Exception as e:
TypeError: catching classes that do not inherit from BaseException is not allowed
^CERROR:
Association tests stopped by keyboard interruption (0/573 completed).
refgene_name2 sample_size_BurdenTest num_variants_BurdenTest total_mac_BurdenTest beta_x_BurdenTest pvalue_BurdenTest wald_x_BurdenTest
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 1117, in runAssociation
res = resQueue.get()
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/queues.py", line 94, in get
res = self._recv_bytes()
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/connection.py", line 216, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/connection.py", line 407, in _recv_bytes
buf = self._recv(4)
File "/home/mleong/anaconda3/lib/python3.6/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 1128, in runAssociation
sys.exit(1)
SystemExit: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 1226, in associate
runAssociation(args,asso,proj,results)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 1144, in runAssociation
except Exception as e:
TypeError: catching classes that do not inherit from BaseException is not allowed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mleong/anaconda3/bin/vtools", line 11, in <module>
load_entry_point('variant-tools==3.0.0.dev0', 'console_scripts', 'vtools')()
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/vtools.py", line 266, in main
args.func(args)
File "/home/mleong/anaconda3/lib/python3.6/site-packages/variant_tools-3.0.0.dev0-py3.6-linux-x86_64.egg/variant_tools/association.py", line 1228, in associate
except Exception as e:
TypeError: catching classes that do not inherit from BaseException is not allowed