code: public static void run(final Configuration conf) throws IOException {
  		final String inputString = conf.get("input");
  		if (inputString == null)
  			throw new IllegalArgumentException(
  				"String property \"input\" path not found in given Configuration");
  
  		final FileSystem fs = FileSystem.get(conf);
  
  		final Path input = new Path(inputString);
  
  		SplittingBAMIndexer.index(
  			fs.open(input),
  			fs.create(input.suffix(OUTPUT_FILE_EXTENSION)),
  			fs.getFileStatus(input).getLen(),
  			conf.getInt("granularity", DEFAULT_GRANULARITY));
  	}
docs: Invoke a new SplittingBAMIndexer object, operating on the supplied {@link
  org.apache.hadoop.conf.Configuration} object instead of a supplied
  argument list
  
  @throws java.lang.IllegalArgumentException if the "input" property is not
  in the Configuration