Comments (5)
My apologies, I misunderstood that files need to be provided as a list for all filetypes that arent GFF3. While providing a list with the gbk files worked well on a test-subset, I am now running into this error:
.gbk
Traceback (most recent call last):
File "/home/ubuntu/miniconda3/bin/panaroo", line 10, in
sys.exit(main())
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/panaroo/main.py", line 298, in main
files.append(create_temp_gff3(line[0], None, temp_dir))
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/panaroo/prokka.py", line 84, in create_temp_gff3
convert_gbk_gff3(gff_file, temp_dir + "temp_gffs/" + prefix + '.gff', True)
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/panaroo/biocode_convert.py", line 150, in convert_gbk_gff3
gene.add_mRNA(mRNA)
UnboundLocalError: local variable 'gene' referenced before assignment
Any ideas whats causing that? thanks a lot.
from panaroo.
I solved my issue by chucking gff and gbk files together and using a list of those as input, which worked.
However I am leaving the issue open as it is not clear to me why one subset of the .gbk files was rejected (see 2nd post). Is this connected to the --compliance tag in Prokka?
from panaroo.
Hi,
Sorry for the slow response and I'm glad you got it running.
If it's possible, it would be great if you could share one of the gbk files that caused this error along with the exact command you ran. This would help me a lot in working out what went wrong.
from panaroo.
Hi, now my apologies for the late reply, I must have missed the notification that you responded. Here is the command I used:
ls .g > list.txt
panaroo -i list.txt -o panaroo_out --clean-mode strict --remove-invalid-genes ->
Github is saying that I mustnt upload gbk format - how do I provide this?
The gbk files that worked fine were produced with the fq2dna pipeline (https://gitlab.pasteur.fr/GIPhy/fq2dna), here however the gff files are not routinely provided with the output but gbk only. The gbk files that did not work were generated by me when running Prokka on contigs that were pre-assembled. From this prokka run I did myself I had the gff files that worked with panaroo, command (where var is my contig.fasta file and pref the basename):
prokka $var --prefix $pref --usegenus --outdir ../ProkkaOut/$pref --kingdom Bacteria --genus Streptococcus --species agalactiae --strain $pref
Thanks a lot for looking into this!
from panaroo.
Hi,
Apologies, I lost track of this issue. I have now added extra error messages to v1.3.4 which indicate that Panaroo requires GBK files that are compliant with Genbank/ENA/DDJB.
from panaroo.
Related Issues (20)
- Query Regarding Discrepancy in Output Information for Dataset of 3245 GFF3 Files HOT 2
- Request for Assistance in Identifying Core Genome from Result Files HOT 2
- Panaroo run time HOT 4
- Recovering gene coordinates HOT 2
- What to do with "xx_refound_yy" items in gene matrix?
- Gene sequences alignment HOT 2
- Gene clusters annotation HOT 1
- Invalid file extension HOT 1
- Not running with prokka generated gff files HOT 4
- provide separate gff and fasta files as input for panaroo HOT 2
- "NameError: Duplicate entry!!!" with a specific GenBank genome HOT 1
- Panaroo reporting genes of very different lengths together in the same gene family - Expected Behaviour? HOT 9
- Default CD-HIT length different percent different than displayed in help message HOT 2
- Biopython deprecation error HOT 2
- Get Multifasta or alignment for each CDSs HOT 1
- Potential bug in panaroo HOT 1
- How to find paralog gene sequence in pan_genome_reference.fa? HOT 2
- Update the gene name in results of panaroo by bakta HOT 1
- Add functionality to batch gene alignments HOT 2
- Sporadic KeyError exceptions raised during collapse_families HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panaroo.