Hello! In dir with your test data ~/pSONIC/TestData/Cotton/NoSplitPolyploid I run (Previously, I had to create a SpeciesIDs.txt file):
python ~/pSONIC/pSONIC.py all -t 20 -og Orthogroups.csv -sID SequenceIDs.txt
error :
_Starting pSONIC
Starting Singleton Search
Traceback (most recent call last):
File "/home/a/pSONIC/pSONIC.py", line 444, in
parse_args()
File "/home/a/pSONIC/pSONIC.py", line 442, in parse_args
main(args.prefix, args.orthogroups, args.threads, args.ploidy, args.sequenceIDs, args.speciesIDs)
File "/home/a/pSONIC/pSONIC.py", line 379, in main
species_nums, singletons = SingleCopy_from_Orthofinder(orthogroups, tandem_network, tandem_pairs, ploidies, gene_code, species_dict)
File "/home/a/pSONIC/pSONIC.py", line 37, in SingleCopy_from_Orthofinder
species_nums = [species_IDs[i] for i in first_line if species_IDs[i]]
File "/home/a/pSONIC/pSONIC.py", line 37, in
species_nums = [species_IDs[i] for i in first_line if speciesIDs[i]]
KeyError: 'AD1.pep'
Hello! In dir with your test data ~/pSONIC/TestData/Cotton/NoSplitPolyploid I run (Previously, I had to create a SpeciesIDs.txt file):
python ~/pSONIC/pSONIC.py all -t 20 -og Orthogroups.csv -sID SequenceIDs.txt
error :
_Starting pSONIC Starting Singleton Search Traceback (most recent call last): File "/home/a/pSONIC/pSONIC.py", line 444, in
parse_args()
File "/home/a/pSONIC/pSONIC.py", line 442, in parse_args
main(args.prefix, args.orthogroups, args.threads, args.ploidy, args.sequenceIDs, args.speciesIDs)
File "/home/a/pSONIC/pSONIC.py", line 379, in main
species_nums, singletons = SingleCopy_from_Orthofinder(orthogroups, tandem_network, tandem_pairs, ploidies, gene_code, species_dict)
File "/home/a/pSONIC/pSONIC.py", line 37, in SingleCopy_from_Orthofinder
species_nums = [species_IDs[i] for i in first_line if species_IDs[i]]
File "/home/a/pSONIC/pSONIC.py", line 37, in
species_nums = [species_IDs[i] for i in first_line if speciesIDs[i]]
KeyError: 'AD1.pep'