Skip to content

Commit da57127

Browse files
authored
Merge pull request #107 from gerikson/main
NEBNext Single Cell and Relacs sample sheet path
2 parents 1f69288 + 67c1dd7 commit da57127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BRB/PushButton.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def RNA(config, group, project, organism, libraryType, tuples):
211211
PE = linkFiles(config, group, project, outputDir, tuples)
212212
CMD = "PATH={}/bin:$PATH".format(os.path.join(config.get('Options', 'snakemakeWorkflowBaseDir')))
213213
CMD = [CMD, 'mRNAseq', '--DAG', '--trim', '-i', outputDir, '-o', outputDir, org_yaml]
214-
if tuples[0][2].startswith("Smart-Seq2"):
214+
if tuples[0][2].startswith("Smart-Seq2") or tuples[0][2].startswith("NEBNext Single Cell RNA Library Preparation"):
215215
# SMART-seq isn't a dUTP-based method!
216216
CMD.extend(['--libraryType', '0'])
217217
elif tuples[0][2].startswith("NEBNext Low Input RNA Library"):
@@ -243,7 +243,7 @@ def RELACS(config, group, project, organism, libraryType, tuples):
243243
if os.path.exists(os.path.join(outputDir, "analysis.done")):
244244
return outputDir, 0, True
245245

246-
sampleSheet = "/dont_touch_this/solexa_runs/{}/RELACS_Project_{}.txt".format(runID, BRB.misc.pacifier(project))
246+
sampleSheet = "/dont_touch_this/short_runs/{}/RELACS_Project_{}.txt".format(runID, BRB.misc.pacifier(project))
247247
if not os.path.exists(sampleSheet) and not os.path.exists(os.path.join(outputDir, "RELACS_sampleSheet.txt")):
248248
log.critical("RELACS: wrong samplesheet name: {}".format(sampleSheet))
249249
print("wrong samplesheet name!", sampleSheet)

0 commit comments

Comments
 (0)