pan-genome-analysis icon indicating copy to clipboard operation
pan-genome-analysis copied to clipboard

ValueError

Open byeollee opened this issue 3 years ago • 0 comments

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.

byeollee avatar Jan 13 '22 02:01 byeollee