mapAICs crashes with certain codons using example_input.txt used in codonWeights.dat
- Checkout commit #012bdd66, may have to apply the fix for #3 (closed)
- With modMappings.py, run it with example_input.txt as argument
- Run the code below
python from initiator_set.util.mRNA import * mrna = mRNA("CGA") from initiator_set.map_aic.mapAIC import * mapAICs(mrna)
Fails with error: File "/Users/akasha/PycharmProjects/INITIATOR_SET/initiator_set/map_aic/mapAIC.py", line 30, in mapAICs rna.metadata["baseWeights"].append(unpack('<f', m_weights.read(4))[0]) struct.error: unpack requires a buffer of 4 bytes
Same error replacing CGA with CCC, CCG and CCU, but not CUG or (seems to be) anything that doesn't start with CC