"""
Traceback (most recent call last):
File "/software/c4/cbi/software/miniconda3-23.3.1-0-py39/lib/python3.9/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/c4/home/zquandt/HATK/IMGT2Seq/src/ProcessIMGT.py", line 438, in ProcessIMGT
setPositionOfIndel(precursor2_AA_forMAP)
File "/c4/home/zquandt/HATK/IMGT2Seq/src/ProcessIMGT.py", line 1150, in setPositionOfIndel
for i, value in _df_precursor.iloc[:, 0].iteritems():
File "/c4/home/zquandt/.local/lib/python3.9/site-packages/pandas/core/generic.py", line 6204, in getattr
return object.getattribute(self, name)
AttributeError: 'Series' object has no attribute 'iteritems'
"""
The above exception was the direct cause of the following exception:
[ProcessIMGT.py]: Generating sequence information dictionary for HLA-MICA.
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/software/c4/cbi/software/miniconda3-23.3.1-0-py39/lib/python3.9/multiprocessing/pool.p
y", line 125, in worker
result = (True, func(*args, **kwds))
File "/c4/home/zquandt/HATK/IMGT2Seq/src/ProcessIMGT.py", line 438, in ProcessIMGT
setPositionOfIndel(precursor2_AA_forMAP)
File "/c4/home/zquandt/HATK/IMGT2Seq/src/ProcessIMGT.py", line 1150, in setPositionOfIndel
for i, value in _df_precursor.iloc[:, 0].iteritems():
File "/c4/home/zquandt/.local/lib/python3.9/site-packages/pandas/core/generic.py", line 6204,
in getattr
return object.getattribute(self, name)
AttributeError: 'Series' object has no attribute 'iteritems'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/c4/home/zquandt/HATK/HATK.py", line 130, in
hStudy_all = implementAll(args.out, args.hg, args.imgt, args.imgt_dir, args.hped, args.bfil
e,
File "/c4/home/zquandt/HATK/src/implementAll.py", line 42, in init
HATK_IMGT2Seq(_imgt, _hg, _out_prefix, _imgt_dir,
File "/c4/home/zquandt/HATK/IMGT2Seq/main.py", line 69, in init
IMGT2Seq(self.imgt, self.hg, self.out_dir, _imgt_dir=self.imgt_dir, _no_Indel=self.no_indel
,
File "/c4/home/zquandt/HATK/IMGT2Seq/IMGT2Seq.py", line 82, in IMGT2Seq
dict_temp[hla] = dict_Pool[hla].get()
File "/software/c4/cbi/software/miniconda3-23.3.1-0-py39/lib/python3.9/multiprocessing/pool.p
y", line 771, in get
raise self._value
AttributeError: 'Series' object has no attribute 'iteritems'
I am using the following code, slightly modified from the example code, and getting the below error
python HATK.py \ --hg 18 \ --hped example/wtccc_filtered_58C_RA.hatk.300+300.hped2 \ --bfile example/wtccc_filtered_58C_RA.hatk.300+300.hg18.chr6.29-34mb \ --pheno example/wtccc_filtered_58C_RA.hatk.300+300.phe \ --pheno-name RA \ --imgt 3320 \ --imgt-dir example/IMGTHLA3320/ \ --multiprocess 8 \ --out example/trial_result/wtccc_58C_RA.hg18.result.chr6.29-34mb.ALL \ --java-mem 4g \ --nthreads 4
The error:
""" Traceback (most recent call last): File "/software/c4/cbi/software/miniconda3-23.3.1-0-py39/lib/python3.9/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/c4/home/zquandt/HATK/IMGT2Seq/src/ProcessIMGT.py", line 438, in ProcessIMGT setPositionOfIndel(precursor2_AA_forMAP) File "/c4/home/zquandt/HATK/IMGT2Seq/src/ProcessIMGT.py", line 1150, in setPositionOfIndel for i, value in _df_precursor.iloc[:, 0].iteritems(): File "/c4/home/zquandt/.local/lib/python3.9/site-packages/pandas/core/generic.py", line 6204, in getattr return object.getattribute(self, name) AttributeError: 'Series' object has no attribute 'iteritems' """
The above exception was the direct cause of the following exception:
[ProcessIMGT.py]: Generating sequence information dictionary for HLA-MICA. multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/software/c4/cbi/software/miniconda3-23.3.1-0-py39/lib/python3.9/multiprocessing/pool.p y", line 125, in worker result = (True, func(*args, **kwds)) File "/c4/home/zquandt/HATK/IMGT2Seq/src/ProcessIMGT.py", line 438, in ProcessIMGT setPositionOfIndel(precursor2_AA_forMAP) File "/c4/home/zquandt/HATK/IMGT2Seq/src/ProcessIMGT.py", line 1150, in setPositionOfIndel for i, value in _df_precursor.iloc[:, 0].iteritems(): File "/c4/home/zquandt/.local/lib/python3.9/site-packages/pandas/core/generic.py", line 6204, in getattr return object.getattribute(self, name) AttributeError: 'Series' object has no attribute 'iteritems' """
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/c4/home/zquandt/HATK/HATK.py", line 130, in
hStudy_all = implementAll(args.out, args.hg, args.imgt, args.imgt_dir, args.hped, args.bfil
e,
File "/c4/home/zquandt/HATK/src/implementAll.py", line 42, in init
HATK_IMGT2Seq(_imgt, _hg, _out_prefix, _imgt_dir,
File "/c4/home/zquandt/HATK/IMGT2Seq/main.py", line 69, in init
IMGT2Seq(self.imgt, self.hg, self.out_dir, _imgt_dir=self.imgt_dir, _no_Indel=self.no_indel
,
File "/c4/home/zquandt/HATK/IMGT2Seq/IMGT2Seq.py", line 82, in IMGT2Seq
dict_temp[hla] = dict_Pool[hla].get()
File "/software/c4/cbi/software/miniconda3-23.3.1-0-py39/lib/python3.9/multiprocessing/pool.p
y", line 771, in get
raise self._value
AttributeError: 'Series' object has no attribute 'iteritems'