Usage: sga2bed [options] [<] <SGA file|stdin>
      - version 1.6.0
      where options are:
  		 -d|--debug                Produce Debug information
  		 -h|--help                 Show this Help text
  		 -i|--db <dir>             Directory where the chr_size file is found (default: CWD)
  		 -b|--bk_ext <len>         Set 5p-end extension <len>(bp)
  		 -f|--fw_ext <len>         Set 3p-end extension <len>(bp)
  		 -l|--readlen <len>        Set Read length <len>(bp)
  		                           Unoriented SGA files are extended by +/-<len>/2
  		 -c|--score <score>        Normalisation factor for BED score field (5th) [score=1]
  		 -e|--extend f1:F1[,f2:F2] Set SGA optional field(s) f1(,f2,...) to BED field(s) F1,(F2,..)
  		                           Fields are specified by column numbers
  		                           Accepted BED field values are 4, 5, and 7
  		                           Except BED field 5 (score field), BED fields 4 and 7
  		                           can be used to set multiple extension values from SGA
  		                           Fields 5 and 7 convert into numerical values whereas
  		                           BED field 4 takes character strings as they are
  		 -r|--nohdr                BED format without annotation track header lines
  		 -x|--expand               Expand SGA lines into multiple BED lines
  		 --name <name>             Set name for track name field [def. name=SGA-feature]
  		 --desc <desc>             Set track description field [def. desc="ChIP-Seq Custom data"]
  		 --color <col>             Define the track color in comma-separated RGB values [def. 100,100,100]

	Convert SGA format into BED format.

