Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnfarrell committed Oct 22, 2020
1 parent 2c89b18 commit d4d7b59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions smallrnaseq/app.py
Expand Up @@ -64,7 +64,6 @@ def setup(self):
if self.adapter != '':
trim_path = os.path.join(self.output, 'trimmed')
os.makedirs(trim_path, exist_ok=True)
print ('adapter')
self.files = base.trim_files(self.files, trim_path, self.adapter)

aligners.BOWTIE_INDEXES = aligners.SUBREAD_INDEXES = self.index_path
Expand Down Expand Up @@ -195,7 +194,7 @@ def map_mirnas(self):
print ('no index for reference genome')
ref_name = ''

print ('mapping miRNAs..')
print ('mapping miRNAs..')
res, counts = base.map_mirbase(self.files, outpath=temp, indexes=libraries,
species=self.species, ref_genome=ref_name,
pad5=self.pad5, pad3=self.pad3, aligner=self.aligner,
Expand Down Expand Up @@ -364,6 +363,8 @@ def diff_expression(opts):
print()
print ('running differential expression')
path = opts['output']
if not os.path.exists(path):
os.makedirs(path,exist_ok=True)
labelsfile = opts['sample_labels']
countsfile = opts['count_file']
logfccutoff = float(opts['logfc_cutoff'])
Expand Down

0 comments on commit d4d7b59

Please sign in to comment.