annotate frag_lens @ 1:b31b119e3905 draft default tip

planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 9260aa02a5f703bce63d2db5b69003df9be371ac
author jvolkening
date Fri, 08 Mar 2024 00:44:15 +0000
parents 9e0453df1745
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
1 #!/usr/bin/env perl
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
2
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
3 use strict;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
4 use warnings;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
5 use 5.012;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
6
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
7 use Cwd qw/abs_path/;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
8 use File::Temp qw/tempdir tempfile/;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
9 use IPC::Cmd qw/can_run/;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
10 use List::Util qw/sum/;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
11 use Getopt::Long;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
12 use Pod::Usage;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
13
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
14 my @good_codes = ( 0x0002, 0x0040 );
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
15 my @bad_codes = ( 0x0004, 0x0100, 0x0800 );
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
16
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
17 #-inputs---------------------------------------------------------------------#
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
18 my $fasta;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
19 my $forward;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
20 my $reverse;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
21 my $sam;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
22 #-knobs----------------------------------------------------------------------#
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
23 my $threads = 1;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
24 my $max_align = 10000;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
25
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
26 my $PROGRAM = 'frag_lens';
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
27 my $VERSION = 0.001;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
28
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
29 GetOptions(
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
30 #-inputs-----------------------------------------------------------------#
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
31 'sam=s' => \$sam,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
32 'forward=s' => \$forward,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
33 'reverse=s' => \$reverse,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
34 'ref=s' => \$fasta,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
35 #-knobs------------------------------------------------------------------#
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
36 'threads=i' => \$threads,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
37 'max_aln=i' => \$max_align,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
38 'help' => sub{ pod2usage(-verbose => 2); },
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
39 'version' => sub{ say "This is $PROGRAM v$VERSION";exit; },
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
40
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
41 ) or pod2usage( -verbose => 1);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
42
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
43 my $fh_sam;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
44 my $tmp_fasta;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
45
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
46 if (defined $sam) {
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
47 open $fh_sam, '<', $sam or die "failed to open SAM\n";
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
48 }
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
49
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
50 else {
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
51
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
52 my $BWA = can_run('bwa')
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
53 // die "BWA is required but not found\n";
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
54
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
55 my ($tmp_dir) = tempdir( CLEANUP => 1);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
56
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
57 die "specify forward and reverse read files and reference\n"
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
58 if (! defined $forward || ! defined $reverse || ! defined $fasta);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
59
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
60 $fasta = abs_path($fasta);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
61
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
62 my $res = system(
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
63 'ln',
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
64 '-s',
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
65 $fasta,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
66 "$tmp_dir/tmp.fasta"
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
67 );
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
68 die "link failed" if ($res);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
69 $res = system(
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
70 $BWA,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
71 'index',
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
72 "$tmp_dir/tmp.fasta"
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
73 );
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
74 die "index failed" if ($res);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
75 open $fh_sam, '-|', $BWA,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
76 'mem',
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
77 '-t' => $threads,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
78 '-v' => 1,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
79 "$tmp_dir/tmp.fasta",
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
80 $forward,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
81 $reverse
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
82 ;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
83 }
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
84
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
85 my $c = 0;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
86 while (my $line = <$fh_sam>) {
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
87 next if ($line =~ /^\@/);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
88 chomp $line;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
89 my @parts = split "\t", $line;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
90 my $flags = $parts[1];
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
91 my $sum1 = sum map {$_ & $flags ? 1 : 0} @good_codes;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
92 my $sum2 = sum map {$_ & $flags ? 1 : 0} @bad_codes;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
93 if ($sum1 == scalar @good_codes && $sum2 == 0) {
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
94 say abs($parts[8]);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
95 last if (++$c >= $max_align);
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
96 }
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
97 }
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
98 close $fh_sam;
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
99
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
100 __END__
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
101
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
102 =head1 NAME
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
103
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
104 frag_lens - Calculate paired end fragment lengths from read alignment
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
105
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
106 =head1 SYNOPSIS
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
107
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
108 frag_lens [--sam <in.sam>] OR [--ref <cons.fa> --forward <R1.fq> --reverse <R2.fq>] [options] > frag_lens.txt
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
109
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
110 =head1 DESCRIPTION
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
111
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
112 Calculates library fragment lengths based on paired-end read alignment.
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
113 Takes as input either a preprepared SAM alignment or a reference and read
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
114 files from which it produces an alignment. Outputs calculated fragment
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
115 lengths, one per line.
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
116
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
117 =head1 PREREQUISITES
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
118
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
119 Requires the following binaries:
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
120
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
121 =over 1
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
122
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
123 =item * bwa
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
124
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
125 =back
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
126
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
127 =head1 OPTIONS
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
128
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
129 =head2 Input option one
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
130
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
131 =over 4
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
132
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
133 =item B<--sam> I<filename>
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
134
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
135 Path to input SAM alignment.
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
136
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
137 =back
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
138
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
139 =head2 Input option two
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
140
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
141 =over 4
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
142
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
143 =item B<--ref> I<filename>
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
144
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
145 Path to reference sequence (e.g. assembly)
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
146
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
147 =item B<--forward> I<filename>
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
148
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
149 Forward reads in FASTQ format
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
150
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
151 =item B<--reverse> I<filename>
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
152
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
153 Reverse reads in FASTQ format
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
154
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
155 =back
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
156
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
157 =head2 Configuration
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
158
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
159 =over 4
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
160
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
161 =item B<--max_align>
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
162
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
163 Maximum number of alignment records to read as input. Used to limit run times.
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
164
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
165 =item B<--threads>
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
166
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
167 Number of threads to use for alignment (ignored if --sam is given)
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
168
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
169 =back
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
170
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
171 =head1 CAVEATS AND BUGS
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
172
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
173 Please submit bug reports to the issue tracker in the distribution repository.
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
174
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
175 =head1 AUTHOR
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
176
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
177 Jeremy Volkening (jdv@base2bio.com)
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
178
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
179 =head1 LICENSE AND COPYRIGHT
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
180
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
181 Copyright 2014-19 Jeremy Volkening
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
182
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
183 This program is free software: you can redistribute it and/or modify
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
184 it under the terms of the GNU General Public License as published by
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
185 the Free Software Foundation, either version 3 of the License, or
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
186 (at your option) any later version.
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
187
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
188 This program is distributed in the hope that it will be useful,
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
189 but WITHOUT ANY WARRANTY; without even the implied warranty of
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
190 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
191 GNU General Public License for more details.
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
192
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
193 You should have received a copy of the GNU General Public License
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
194 along with this program. If not, see <http://www.gnu.org/licenses/>.
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
195
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
196 =cut
9e0453df1745 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
197