Python & orthomcl parsing output
0
0
Entering edit mode
4.0 years ago
sxd • 0

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 • 975 views
ADD COMMENT
0
Entering edit mode

try with python3 instead.

ADD REPLY

Login before adding your answer.

Traffic: 2996 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6