This function generates bash commands to calculate read distribution in bam file

phsc.cmd.bam.calculate.read.distribution(pty.runs, pty.args)

Arguments

pty.runs

data.table with columns SAMPLE_ID and PTY_RUN

pty.args

List of input variables containing the fields "prog.bam.distr.calculator", "data.dir", "out.dir", "work.dir"

Value

character string of bash commands.