annotate frag_lens @ 0:90d81e551420 draft

planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
author jvolkening
date Sat, 02 Mar 2024 07:42:45 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
2
90d81e551420 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;
90d81e551420 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;
90d81e551420 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;
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
6
90d81e551420 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/;
90d81e551420 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/;
90d81e551420 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/;
90d81e551420 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/;
90d81e551420 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;
90d81e551420 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;
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
13
90d81e551420 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 );
90d81e551420 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 );
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
16
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
17 #-inputs---------------------------------------------------------------------#
90d81e551420 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;
90d81e551420 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;
90d81e551420 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;
90d81e551420 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;
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
22 #-knobs----------------------------------------------------------------------#
90d81e551420 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;
90d81e551420 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;
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
25
90d81e551420 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';
90d81e551420 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;
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
28
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
29 GetOptions(
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
30 #-inputs-----------------------------------------------------------------#
90d81e551420 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,
90d81e551420 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,
90d81e551420 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,
90d81e551420 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,
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
35 #-knobs------------------------------------------------------------------#
90d81e551420 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,
90d81e551420 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,
90d81e551420 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); },
90d81e551420 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; },
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
40
90d81e551420 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);
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
42
90d81e551420 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;
90d81e551420 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;
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
45
90d81e551420 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) {
90d81e551420 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";
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
48 }
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
49
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
50 else {
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
51
90d81e551420 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')
90d81e551420 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";
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
54
90d81e551420 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);
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
56
90d81e551420 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"
90d81e551420 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);
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
59
90d81e551420 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);
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
61
90d81e551420 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(
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
63 'ln',
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
64 '-s',
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
65 $fasta,
90d81e551420 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"
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
67 );
90d81e551420 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);
90d81e551420 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(
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
70 $BWA,
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
71 'index',
90d81e551420 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"
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
73 );
90d81e551420 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);
90d81e551420 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,
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
76 'mem',
90d81e551420 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,
90d81e551420 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,
90d81e551420 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",
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
80 $forward,
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
81 $reverse
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
82 ;
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
83 }
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
84
90d81e551420 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;
90d81e551420 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>) {
90d81e551420 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 =~ /^\@/);
90d81e551420 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;
90d81e551420 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;
90d81e551420 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];
90d81e551420 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;
90d81e551420 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;
90d81e551420 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) {
90d81e551420 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]);
90d81e551420 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);
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
96 }
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
97 }
90d81e551420 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;
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
99
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
100 __END__
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
101
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
103
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
105
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
107
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
109
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
111
90d81e551420 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.
90d81e551420 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
90d81e551420 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
90d81e551420 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.
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
116
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
118
90d81e551420 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:
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
120
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
122
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
124
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
125 =back
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
126
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
128
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
130
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
132
90d81e551420 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>
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
134
90d81e551420 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.
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
136
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
137 =back
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
138
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
140
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
142
90d81e551420 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>
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
144
90d81e551420 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)
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
146
90d81e551420 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>
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
148
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
150
90d81e551420 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>
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
152
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
154
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
155 =back
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
156
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
158
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
160
90d81e551420 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>
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
162
90d81e551420 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.
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
164
90d81e551420 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>
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
166
90d81e551420 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)
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
168
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
169 =back
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
170
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
172
90d81e551420 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.
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
174
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
176
90d81e551420 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)
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
178
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
180
90d81e551420 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
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
182
90d81e551420 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
90d81e551420 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
90d81e551420 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
90d81e551420 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.
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
187
90d81e551420 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,
90d81e551420 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
90d81e551420 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
90d81e551420 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.
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
192
90d81e551420 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
90d81e551420 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/>.
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
195
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
196 =cut
90d81e551420 planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/b2b_utils commit 54eef6140a5086e3373b2406efb2e18dbfae1336-dirty
jvolkening
parents:
diff changeset
197