details: http://www.bx.psu.edu/hg/galaxy/rev/4cf0aa26070f changeset: 1707:4cf0aa26070f user: guru date: Thu Jan 15 10:42:22 2009 -0500 description: Fixed a bug in microsatellite mutability tool. 1 file(s) affected in this change: tools/regVariation/microsats_mutability.py diffs (23 lines): diff -r cfe79f4c6673 -r 4cf0aa26070f tools/regVariation/microsats_mutability.py --- a/tools/regVariation/microsats_mutability.py Wed Jan 14 17:20:22 2009 -0500 +++ b/tools/regVariation/microsats_mutability.py Thu Jan 15 10:42:22 2009 -0500 @@ -409,19 +409,9 @@ blk=0 win=0 linestr="" - ff=open("junkmabc","w") if region == 'win': - """ - sorted_infile = tempfile.NamedTemporaryFile() - if winspecies == 1: - cmdline = "sort -n -k 3"+" -o "+sorted_infile.name+" "+infile - elif winspecies == 2: - cmdline = "sort -n -k 10"+" -o "+sorted_infile.name+" "+infile - os.system(cmdline) - print >>ff, "Finished sorting" - """ msats = NiceReaderWrapper( fileinput.FileInput( infile ), chrom_col = speciesind, start_col = speciesind+1,