[hg] galaxy 1532: Fix for interval to bed converter.
details: http://www.bx.psu.edu/hg/galaxy/rev/3b6771227a43 changeset: 1532:3b6771227a43 user: Dan Blankenberg <dan@bx.psu.edu> date: Fri Sep 26 09:10:04 2008 -0400 description: Fix for interval to bed converter. 1 file(s) affected in this change: lib/galaxy/datatypes/converters/interval_to_bed_converter.py diffs (11 lines): diff -r aa1088e4c6c6 -r 3b6771227a43 lib/galaxy/datatypes/converters/interval_to_bed_converter.py --- a/lib/galaxy/datatypes/converters/interval_to_bed_converter.py Thu Sep 25 15:03:05 2008 -0400 +++ b/lib/galaxy/datatypes/converters/interval_to_bed_converter.py Fri Sep 26 09:10:04 2008 -0400 @@ -38,6 +38,7 @@ skipped_lines = 0 first_skipped_line = 0 out = open( output_name,'w' ) + count = 0 for count, region in enumerate( bx.intervals.io.NiceReaderWrapper( open( input_name, 'r' ), chrom_col=chromCol, start_col=startCol, end_col=endCol, strand_col=strandCol, fix_strand=True, return_header=False, return_comments=False ) ): try: if nameCol >= 0:
participants (1)
-
Greg Von Kuster