extract_matrices_from_dataset.py error message
niklaslang opened this issue · 0 comments
niklaslang commented
When trying to create the SNV matrix I receive the following error message:
('\n', u'sample name Number of SNVs\n-------- ------ ----------------')
Traceback (most recent call last):
File "./garmire_SSrGE/extract_matrices_from_dataset.py", line 222, in <module>
debug()
File "./garmire_SSrGE/extract_matrices_from_dataset.py", line 24, in debug
SNV_mat = extract_matrix.extract_SNV_mat()
File "./garmire_SSrGE/extract_matrices_from_dataset.py", line 160, in extract_SNV_mat
for sample in self.samples])
File "/work/project/becstr_006/python2/lib/python2.7/site-packages/sklearn/feature_extraction/dict_vectorizer.py", line 231, in fit_transform
return self._transform(X, fitting=True)
File "/work/project/becstr_006/python2/lib/python2.7/site-packages/sklearn/feature_extraction/dict_vectorizer.py", line 184, in _transform
raise ValueError("Sample sequence X is empty.")
ValueError: Sample sequence X is empty.
Unfortunatley I am not able to find a solution for this issue, so I am looking forward to your support!