Skip to content

Commit

Permalink
add opt for seqmap out
Browse files Browse the repository at this point in the history
  • Loading branch information
wangqinhu committed Apr 30, 2016
1 parent 7050aa2 commit 71dee09
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions offscan.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ =head1 ABOUT
=head1 VERSION
Version: 1.2
Version: 1.3
Apr 30, 2016
=head1 SYNOPSIS
Expand Down Expand Up @@ -61,7 +61,7 @@ =head1 LICENSE
# Get Options
#-------------------------------------------------------------------------------
my %options;
getopts("q:r:d:l:n:o:s:m:f:a:th" , \%options);
getopts("q:r:d:l:n:o:s:m:f:a:b:th" , \%options);

my $rna = $options{q}; # Query RNA sequence file
my $rsz = $options{r} || '23'; # RNA size
Expand All @@ -73,6 +73,8 @@ =head1 LICENSE
my $mem = $options{m} || '2048'; # Memory allocated, required by seqmap
my $fmt = $options{f} || "true"; # Format reference fasta
my $app = $options{a}; # Path of seqmap, default ./bin/seqmap*
my $map = $options{b} || "seqmap.out"; # Map file, seqmap output


# Usage
&usage() if $options{h};
Expand Down Expand Up @@ -100,9 +102,6 @@ =head1 LICENSE
$app = $osp[&ios()];
}

# Map file, required by seqmap
my $map = "seqmap.out";

# Format DB
&format_seqid($options{d}) if $fmt eq "true";

Expand Down Expand Up @@ -333,7 +332,7 @@ sub usage
{
print <<USAGE;
cas9off version 1.2
cas9off version 1.3
Usage:
Expand All @@ -352,6 +351,7 @@ sub usage
-f Format reference sequence or not, can be 'true' [default] or 'false',
critical if your FASTA file has annotation
-a Path of seqman, default './bin/seqmap*'
-b Map file, seqmap output
For citation:
Expand Down

0 comments on commit 71dee09

Please sign in to comment.