/usr/bin/rgfa-mergelinear is in ruby-rgfa 1.3.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/usr/bin/ruby
require "rgfatools"
if ARGV.size != 1
STDERR.puts "Usage: #$0 <gfa>"
exit 1
end
gfa = RGFA.new
gfa.enable_progress_logging(part: 0.01)
gfa.turn_off_validations
gfa.read_file(ARGV[0])
gfa.merge_linear_paths(disable_tracking: true, merged_name: :short)
puts gfa
|