1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
{bionix ,flags ? null}: with bionix; with lib; {ref ,expr ,pos}: stage { name = "inferCNV"; buildInputs = [ bionix.infercnv.app ]; buildCommand = '' inferCNV.R --output_dir $TMPDIR \ ${optionalString (flags != null) flags} \ --ref ${ref} \ ${expr} \ ${pos} mkdir $out cp -r $TMPDIR/* $out ''; }