You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run seq2hla.py version 2.3, I get this error:
Traceback (most recent call last):
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 791, in
main()
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 786, in main
pipe.run()
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 140, in run
self.call_HLA(
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 252, in call_HLA
self.expression(locus_list, length_dict, map, run_name)
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 694, in expression
totalreads = float(linecache.getline(logfile, 1).split(':')[1])
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Here is an extral first line exists in the .bowtielog file.
The code 'totalreads = ...' want to extract the reads number from the 1st line in logfile.
But actually the 1st line is a warning messages, the wanted numbers were export to 2nd line. See example here #1 (comment)
Solution
modify codes related to this issue in seq2HLA.py.
Way 1 - inhibit warning messages (recommanded).
If you are familiar with bowtie, located "mapping_cmd = ..." lines (should be at line372/374/376), then add '-x ' argument before bowtiebuild.
Hello developer
When I run seq2hla.py version 2.3, I get this error:
Traceback (most recent call last):
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 791, in
main()
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 786, in main
pipe.run()
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 140, in run
self.call_HLA(
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 252, in call_HLA
self.expression(locus_list, length_dict, map, run_name)
File "/home/gbb/tools/seq2HLA-master/seq2HLA.py", line 694, in expression
totalreads = float(linecache.getline(logfile, 1).split(':')[1])
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: