Using singularity I pulled the docker image from the mcfonsecalab/rmats docker. Then I tried to use it using the following script on the model organism Zebrafish in my case (paths are removed due to the rules of the HPC I use).
The variables:
control_bams_text_file
="/path/to/reference/file/containing/3/control/bams/separated/by/comma/no/spaces"experimental_bams_text_file
="/path/to/reference/file/containing/3/experimental/bams/separated/by/comma/no/spaces"gtf_file_path
="/path/to/RefSeq/gtf/file.gtfoutput_directory
=/path/to/output/directorysingularity_image
=/path/to/singularity/imageRMATS_SCRIPT
path defined by mcfonseca lab on Docker"/rmats-turbo/rmats.py"
readLength
=50 - thought is number may vary depending on needsnthread
=4 - though this is ideally set to at least 10 when running on more samplestmp_directory
is made as a subdirectory of the output directory
Script:
singularity exec "${singularity_image}" python "${RMATS_SCRIPT}" --b1 "${control_bams_text_file}" --b2 "${experimental_bams_text_file}" --gtf "${gtf_file_path}" -t paired --readLength "${readLength}" --nthread "${nthread}" --od "${output_directory}" --tmp "${tmp_directory}"
Yet when it runs it does not give any genes, the files are blank except for the column names.