# HG changeset patch # User jjjjia # Date 1535569844 14400 # Node ID 573136f142b687b6a6922d8714e1074f69b02f58 # Parent e5a7da2239af5a6fc83e0e9fe185444a36f84d30 planemo upload diff -r e5a7da2239af -r 573136f142b6 cpo_galaxy_prediction.py --- a/cpo_galaxy_prediction.py Wed Aug 29 02:31:49 2018 -0400 +++ b/cpo_galaxy_prediction.py Wed Aug 29 15:10:44 2018 -0400 @@ -694,8 +694,8 @@ #lastly plasmids temp += str(plasmidFamily[list(plasmidFamily.keys())[0]].name) + "\t" - temp += str(plasmidFamily[list(plasmidFamily.keys())[0]].identity) + "\t" - temp += str(plasmidFamily[list(plasmidFamily.keys())[0]].sharedHashes) + "\t" + temp += str(plasmidFamily[list(plasmidFamily.keys())[0]].identity) + "\t" + temp += str(plasmidFamily[list(plasmidFamily.keys())[0]].sharedHashes) + "\t" temp+= str(len(mSuitePlasmids)) + "\t" plasmidID = "" contigs = "" diff -r e5a7da2239af -r 573136f142b6 cpo_galaxy_tree.py --- a/cpo_galaxy_tree.py Wed Aug 29 02:31:49 2018 -0400 +++ b/cpo_galaxy_tree.py Wed Aug 29 15:10:44 2018 -0400 @@ -96,8 +96,8 @@ self.MLSTScheme = "?" self.CarbapenemResistanceGenes ="?" self.plasmidBestMatch ="?" - self.plasmididentity =-1 - self.plasmidsharedhashes ="?" + self.plasmididentity =-1 + self.plasmidsharedhashes ="?" self.OtherAMRGenes="?" self.TotalPlasmids = -1 self.plasmids = [] @@ -184,7 +184,7 @@ _results.OtherAMRGenes = (str(r.loc[r.index[i], 'Other AMR Genes'])) _results.TotalPlasmids = int(r.loc[r.index[i], 'Total Plasmids']) _results.plasmidBestMatch = str(r.loc[r.index[i], 'Plasmid Best Match']) - _results.plasmididentity = str(r.loc[r.index[i], 'Plasmid Identity']) + _results.plasmididentity = str(r.loc[r.index[i], 'Plasmid Identity']) _results.plasmidsharedhashes = float(r.loc[r.index[i], 'Plasmid Shared Hash']) for j in range(0,_results.TotalPlasmids): _plasmid = plasmidObj()