diff --git a/smallrnaseq/aligners.py b/smallrnaseq/aligners.py index c52cb82..895fb65 100644 --- a/smallrnaseq/aligners.py +++ b/smallrnaseq/aligners.py @@ -31,6 +31,7 @@ BOWTIE_INDEXES = None BOWTIE_PARAMS = '-v 1 --best' +BOWTIE_MIRBASE_PARAMS = '-v 1 -a --best --strata --norc' SUBREAD_INDEXES = None SUBREAD_PARAMS = '-m 2 -M 1' diff --git a/smallrnaseq/config.py b/smallrnaseq/config.py index d7c987c..67e226b 100644 --- a/smallrnaseq/config.py +++ b/smallrnaseq/config.py @@ -31,7 +31,7 @@ path = os.path.dirname(os.path.abspath(__file__)) datadir = os.path.join(path, 'data') - +from . import aligners baseoptions = {'base': [('filenames',''),('path',''),('overwrite',0), #('adapter',''), @@ -42,7 +42,7 @@ ('aligner','bowtie'), ('mirna',0),('species','hsa'),('pad5',3),('pad3',5)], 'aligner': [('default_params','-v 1 --best'), - ('mirna_params','-n 1 -l 20')], + ('mirna_params',aligners.BOWTIE_MIRBASE_PARAMS)], 'novel': [('score_cutoff',.7), ('read_cutoff',100), ('strict',0)], 'de': [('sample_labels',''),('sep',','),