commit
31bf49d814
|
|
@ -5,7 +5,7 @@ use warnings;
|
|||
use Getopt::Std;
|
||||
|
||||
my %opts = (t=>1);
|
||||
getopts("PSadskHo:R:x:t:", \%opts);
|
||||
getopts("MPSadskHo:R:x:t:", \%opts);
|
||||
|
||||
die('
|
||||
Usage: run-bwamem [options] <idxbase> <file1> [file2]
|
||||
|
|
@ -24,6 +24,7 @@ Options: -o STR prefix for output files [inferred from
|
|||
-S for BAM input, don\'t shuffle
|
||||
-s sort the output alignment (via samtools; requring more RAM)
|
||||
-k keep temporary files generated by typeHLA
|
||||
-M mark shorter split hits as secondary
|
||||
|
||||
Examples:
|
||||
|
||||
|
|
@ -143,7 +144,7 @@ if ($is_bam) {
|
|||
$cmd = "cat $ARGV[1] \\\n";
|
||||
}
|
||||
|
||||
my $bwa_opts = "-p " . ($opts{t} > 1? "-t$opts{t} " : "") . (defined($opts{x})? "-x $opts{x} " : "") . (defined($opts{R})? "-R'$opts{R}' " : "");
|
||||
my $bwa_opts = "-p " . ($opts{t} > 1? "-t$opts{t} " : "") . (defined($opts{x})? "-x $opts{x} " : "") . (defined($opts{R})? "-R'$opts{R}' " : "") . (defined($opts{M})? "-M " : "");
|
||||
$bwa_opts .= join(" ", @RG_lines) . " -C " if @RG_lines > 0;
|
||||
|
||||
$cmd .= " | $root/trimadap 2> $prefix.log.trim \\\n" if defined($opts{a});
|
||||
|
|
|
|||
Loading…
Reference in New Issue