Skip to content

Instantly share code, notes, and snippets.

@carlcrott
Created July 25, 2011 00:58
Show Gist options
  • Save carlcrott/1103331 to your computer and use it in GitHub Desktop.
Save carlcrott/1103331 to your computer and use it in GitHub Desktop.
$./cb_emr \
--name "Crossbow-HG18" \
--preprocess \
--input=s3n://bg-crossbow-01/example/human_g18/small.manifest \
--output=s3n://bg-crossbow-01/example/human_g18/output_full \
--reference=s3n://bg-crossbow-01/crossbow-refs/hg18.jar \
--instances 1
command =<<END_OF_COMMAND
#{ENV["CROSSBOW_HOME"]}/cb_emr \
--name "Crossbow-HG18" \
--preprocess \
--input=s3n://bg-crossbow-01/example/human_g18/small.manifest \
--output=s3n://bg-crossbow-01/example/human_g18/output_full \
--reference=s3n://bg-crossbow-01/crossbow-refs/hg18.jar \
--instances 1
END_OF_COMMAND
IO.popen(command) do |handle|
handle.each_line do |line|
puts line
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment