Commits

mimakaev  committed 1da021e

Fixed stupid bug which causes removePoorRegions to fail with python 2.6

  • Participants
  • Parent commits c60dea8

Comments (0)

Files changed (3)

File doc/source/index.rst

 This page contains the general information about the library.
 Detailed documentation for each module can be found in API documentation below. 
 
+.. note :: (news) We've just added a high resolution Hi-C analysis.
+           It can perform IC at up to 10kb resolution, and possibly below. 
+           (resolution for the mouse or human genome)!
+           Documentation is in the API documentation. 
+             (11/27/2012)
+            
+    
+
 Requirements
 ------------
 

File src/hiclib/binnedData.py

             newmask = countsum >= np.percentile(countsum[datamask], cutoff)
             mask *= newmask
             statmask[(newmask == False) * (datamask == True)] = True
-        print "removed {} poor bins".format(statmask.sum())
+        print "removed {0} poor bins".format(statmask.sum())
         inds = np.nonzero(mask == False)
 
         for i in self.dataDict.values():
         silent : bool
             Do not print anything
 
-        
+
         """
         #TODO (MIU): check this method!
         if silent == False:

File src/hiclib/highResBinnedData.py

             see below
 
 
-        cisProtocol should implement all functions, currently defined in the
-        defaultMatrix protocol. If inhereted from defaultMatrix, it should
-        implement proper get and set functions It cannot store the matrix itself
-        in memory, and should forget it after any function call.
+        cisProtocol and transProtocol should implement all functions, currently
+        defined in the defaultMatrix protocol. If inhereted from defaultMatrix,
+        it should implement proper get and set functions It cannot store the
+        matrix itself in memory, and should forget it after any function call.
         """
 
         if mode.lower() not in ["cis", "all"]:
         mydict["resolution"] = self.resolution
 
 
-