changeset 25:573136f142b6 draft

planemo upload
author jjjjia
date Wed, 29 Aug 2018 15:10:44 -0400
parents e5a7da2239af
children 3dc84625d22c
files cpo_galaxy_prediction.py cpo_galaxy_tree.py
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 = ""
--- 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()