Hi Iczech,
I was trying to assign taxonomy to sequences placed in a tree using the gappa examine assign command.
Here is the complate command I used:
gappa examine assign --jplace-path kapilireftree-placement-out/epa_result.jplace --taxon-file kapili-ppit-reference-taxonomy-forGappa-edited.txt --ranks-string "phylum|class|order|family|genus|species" --krona --file-prefix gappaClassification --resolve-missing-paths --verbose --log-file logfile.txt --allow-file-overwriting.
As mentioned in the gappa docs, the format of my taxonomy file is as follows:
The sequences were placed in the reference tree using epa_ng.
When I run the command this is the msg that I get:
Started 2021-11-22 17:13:40
Found 1 jplace file
Reading file 1 of 1: kapilireftree-placement-out/epa_result.jplace
Running the assignment
Error: Unexpected end of input file (kapili-ppit-reference-taxonomy-forGappa-edited.txt) at 8877:1. Expected closing quotation mark.
terminate called after throwing an instance of 'std::runtime_error'
what(): Unexpected end of input file (kapili-ppit-reference-taxonomy-forGappa-edited.txt) at 8877:1. Expected closing quotation mark.
Aborted (core dumped)
The taxonomy file that I am using has 8876 lines (taxon entries) in it.
Nevermind! I figured out what was wrong. There was one entry in the taxonomy file which had a " character in the ID. Fixing that fixed the error.
Closing this issue.
Hi Iczech, I was trying to assign taxonomy to sequences placed in a tree using the gappa examine assign command. Here is the complate command I used: gappa examine assign --jplace-path kapilireftree-placement-out/epa_result.jplace --taxon-file kapili-ppit-reference-taxonomy-forGappa-edited.txt --ranks-string "phylum|class|order|family|genus|species" --krona --file-prefix gappaClassification --resolve-missing-paths --verbose --log-file logfile.txt --allow-file-overwriting.
As mentioned in the gappa docs, the format of my taxonomy file is as follows:
The sequences were placed in the reference tree using epa_ng.
When I run the command this is the msg that I get:
The taxonomy file that I am using has 8876 lines (taxon entries) in it.
What am I missing here?
Any help re: this would be greatly appreciated.
regards, Dhwani Desai