This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Python & orthomcl parsing output

Hi, I am having an issue with my input files into a python script that parses more information from the orthomcl output. The python script takes in 3 files, two text and one fasta. https://github.com/microDM/code-Util/blob/master/parseOrthoMCLOutput.py

I have been trying to fix the KeyError -

File "parse.py", line 98, in <module>
    coreGenes = addGenesToDict(coreGenes,groupDict[i],seqDict)
KeyError: 'XP_AQS63436.1'

I am using Biopython/1.68-foss-2016b-Python-2.7.14 and running like : time python parse.py -g groups.txt -f goodProteins.fasta -n names.txt -s singletons.txt Going to try and embed the groups.txt, goodProteins.fasta, and singletons.txt tables but can't figure out how to show only few rows.

xhttps://gist.github.com/sxdxs/83b93c037e6d8823843590a6262d6b03.js

xhttps://gist.github.com/sxdxs/d767bcff069091970d5252670737886e.js

xhttps://gist.github.com/sxdxs/9064925982737cb719630678ff5e424c.js

orthomcl python

try with python3 instead.

0 answers

No answers yet.

Log in to answer this question.