conJUSTover / pSONIC

The repository serves as a public and official hosting of the pSONIC program (Conover et al., 2021).
GNU General Public License v3.0
19 stars 3 forks source link

error with test data #11

Open sashulkaSh opened 1 year ago

sashulkaSh commented 1 year ago

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'