Skip to content

Commit

Permalink
dirty change of computer commit
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienG committed May 22, 2017
1 parent b3a9a59 commit 1f7fb07
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions iss/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ def generate_reads(args):
err_mod = cdf.CDFErrorModel(npz)
elif args.model == 'kde':
from iss.error_models import kde
npz = args.model_file
if args.model_file == 'HiSeq2500':
npz = os.path.join(
os.path.dirname(__file__),
'profiles/HiSeq2500')
else:
npz = args.model_file
err_mod = kde.KDErrorModel(npz)
elif args.model == 'basic':
from iss.error_models import basic
Expand Down Expand Up @@ -194,7 +199,9 @@ def main():
metavar='<npz>',
default=None,
help='Error model file. If not specified, using a basic \
error model instead (default: %(default)s)'
error model instead (default: %(default)s). Use \'HiSeq2500\' for \
a pre-computed error model provided with the software (require \
--model kde)'
)
parser_gen.add_argument(
'--output',
Expand Down
File renamed without changes.
File renamed without changes.
Binary file removed profiles/ERR1743773_cdf.npz
Binary file not shown.
Binary file removed profiles/SRR5166376_cdf.npz
Binary file not shown.

0 comments on commit 1f7fb07

Please sign in to comment.