plotVariants.R crashes on folders with dots in the name
(Rscript /exports/sasc-testing/workspace/HAMLET/gmap-2014.12.23/6540/test-p53-integration-NB-4/includes/snv-indels/scripts/plotVariants.R -j NB4/snv-indels/NB4.variants.json -i /exports/sasc-testing/fixtures/HAMLET/deps/data/id_mappings.tsv -m /exports/sasc-testing/fixtures/HAMLET/deps/data/Homo_sapiens.GRCh38.77.goi-extended.gtf -a /exports/sasc-testing/fixtures/HAMLET/deps/data/amplicons.bed -t /exports/sasc-testing/fixtures/HAMLET/deps/data/hotspots_genome.bed -o `dirname NB4/snv-indels/variant_plots` && touch NB4/snv-indels/variant_plots/.done) || rm -rf NB4/snv-indels/variant_plots
Activating singularity image /exports/sasc-testing/singularity/snakemake_prefix/b5bb09b0627d70a08427e73c9678b62d.simg
Creating output directory 'NB4/snv-indels' ...
Reading JSON file ...
Reading IDs file ...
Reading GTF file ...
Plotting sample 'NB4', gene 'TP53' to '/exports/sasc-testing/workspace/HAMLET/gmap-2014.12.23/6540/test-p53-integration-NB-4/NB4/snv-indels/variant_plots/sample_NB4_gene_TP53.png' ...
NULL
Warning message:
In if (!is.null(out.file) & tolower(unlist(strsplit(out.file, "\\."))[-1]) == :
the condition has length > 1 and only the first element will be used