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