diff --git a/MITObim.pl b/MITObim.pl index 0ab9346..2aa6ea8 100755 --- a/MITObim.pl +++ b/MITObim.pl @@ -1,4 +1,4 @@ -#! /usr/bin/perl +#!/usr/bin/env perl # # MITObim - mitochondrial baiting and iterative mapping # wrapper script version 1.9.1 @@ -71,9 +71,7 @@ # --insert insert size of illumina library, default=300, relevant only for proofreading -if (scalar @ARGV < 2){ - die "$PROGRAM\n$VERSION\n$USAGE"; -} + my $command = $0; for (@ARGV){ $command .= " $_"; diff --git a/misc_scripts/circules.py b/misc_scripts/circules.py index a1372df..bd6765e 100755 --- a/misc_scripts/circules.py +++ b/misc_scripts/circules.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys,warnings import argparse diff --git a/misc_scripts/downsample.py b/misc_scripts/downsample.py index 9581ac1..2507fda 100755 --- a/misc_scripts/downsample.py +++ b/misc_scripts/downsample.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python """downsample diff --git a/misc_scripts/get_wiggle.pl b/misc_scripts/get_wiggle.pl index e09287d..ec616c6 100755 --- a/misc_scripts/get_wiggle.pl +++ b/misc_scripts/get_wiggle.pl @@ -1,4 +1,4 @@ -#! /usr/bin/perl +#!/usr/bin/env perl # # script to extract per base coverage info for unpadded # assembly result from MIRA wiggle file diff --git a/misc_scripts/interleave-fastqgz-MITOBIM.py b/misc_scripts/interleave-fastqgz-MITOBIM.py index e9c5beb..11051f2 100755 --- a/misc_scripts/interleave-fastqgz-MITOBIM.py +++ b/misc_scripts/interleave-fastqgz-MITOBIM.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # encoding:utf8 # authors: Erik Garrison, Sébastien Boisvert # modified by github@cypridina on 20151104 to work with MITObim