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