Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError #49

Open
byeollee opened this issue Jan 13, 2022 · 0 comments
Open

ValueError #49

byeollee opened this issue Jan 13, 2022 · 0 comments

Comments

@byeollee
Copy link

byeollee commented Jan 13, 2022

Hello,

I got the recommendation to use this programs.

But, when i use my file, I used this command

./panX.py -fn data/burk_sample -sl burkholderia -t 32

the error came.

Running panX in main folder: /home/star/pan-genome-analysis-master/data/burk_sample/
====== step01: strain list successfully loaded
====== starting step03: extract sequences from GenBank file
Traceback (most recent call last):
File "./panX.py", line 256, in
myPangenome.extract_gbk_sequences()
File "/home/star/pan-genome-analysis-master/scripts/pangenome_computation.py", line 128, in extract_gbk_sequences
extract_sequences(self.path, self.strain_list, self.folders_dict, self.gbk_present, self.enable_RNA_clustering)
File "/home/star/pan-genome-analysis-master/scripts/sf_extract_sequences.py", line 156, in extract_sequences
gene_aa_dict, gene_na_dict, RNA_dict, enable_RNA_clustering)
File "/home/star/pan-genome-analysis-master/scripts/sf_extract_sequences.py", line 42, in gbk_translation
for contig in SeqIO.parse(gbk_fname,'genbank'):
File "/home/star/anaconda3/envs/panX/lib/python2.7/site-packages/Bio/SeqIO/init.py", line 661, in parse
for r in i:
File "/home/star/anaconda3/envs/panX/lib/python2.7/site-packages/Bio/GenBank/Scanner.py", line 493, in parse_records
record = self.parse(handle, do_features)
File "/home/star/anaconda3/envs/panX/lib/python2.7/site-packages/Bio/GenBank/Scanner.py", line 477, in parse
if self.feed(handle, consumer, do_features):
File "/home/star/anaconda3/envs/panX/lib/python2.7/site-packages/Bio/GenBank/Scanner.py", line 444, in feed
self._feed_first_line(consumer, self.line)
File "/home/star/anaconda3/envs/panX/lib/python2.7/site-packages/Bio/GenBank/Scanner.py", line 1345, in _feed_first_line
'position 75 in date:\n' + line)
ValueError: LOCUS line does not contain - at position 75 in date:
LOCUS BX571965.1 4074542 bp DNA linear 19- 1월-2021

Additionally, I download using miniconda follow steps

How can I fix?
Thank you for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant