From 0256f765ed8b9799089eb13a7bca1aaec203b6ae Mon Sep 17 00:00:00 2001 From: Matthias De Smet Date: Tue, 30 May 2017 10:20:25 +0200 Subject: [PATCH] fixed script shebangs for multi env use --- scripts/assess_significance.R | 2 ++ scripts/freec2bed.pl | 2 +- scripts/freec2circos.pl | 2 +- scripts/get_fasta_lengths.pl | 2 +- scripts/makeGraph.R | 2 ++ scripts/makeGraph_Chromosome.R | 2 ++ 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/scripts/assess_significance.R b/scripts/assess_significance.R index f466024..4193d97 100644 --- a/scripts/assess_significance.R +++ b/scripts/assess_significance.R @@ -1,3 +1,5 @@ +#!/usr/bin/env Rscript + library(rtracklayer) args <- commandArgs() diff --git a/scripts/freec2bed.pl b/scripts/freec2bed.pl index 431929f..6b74c03 100644 --- a/scripts/freec2bed.pl +++ b/scripts/freec2bed.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w #translate *_ratio.txt (the out put of FREEC) into a BED track use strict; diff --git a/scripts/freec2circos.pl b/scripts/freec2circos.pl index 6945256..d1569e7 100644 --- a/scripts/freec2circos.pl +++ b/scripts/freec2circos.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w #translate "*_ratio.txt" (output of FREEC) into a Circos track use strict; diff --git a/scripts/get_fasta_lengths.pl b/scripts/get_fasta_lengths.pl index 97c889a..b45ce78 100644 --- a/scripts/get_fasta_lengths.pl +++ b/scripts/get_fasta_lengths.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w #prints lengths of sequences from a multifasta file use strict; diff --git a/scripts/makeGraph.R b/scripts/makeGraph.R index 7a69d47..26c450e 100644 --- a/scripts/makeGraph.R +++ b/scripts/makeGraph.R @@ -1,3 +1,5 @@ +#!/usr/bin/env Rscript + args <- commandArgs() dataTable <-read.table(args[5], header=TRUE); diff --git a/scripts/makeGraph_Chromosome.R b/scripts/makeGraph_Chromosome.R index 1c45aed..88c952b 100644 --- a/scripts/makeGraph_Chromosome.R +++ b/scripts/makeGraph_Chromosome.R @@ -1,3 +1,5 @@ +#!/usr/bin/env Rscript + args <- commandArgs() dataTable <-read.table(args[6], header=TRUE);