Skip to content

Commit cf3b7dc

Browse files
committed
Bugfix to nimble align
1 parent bf3b1fe commit cf3b7dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

singlecell/src/org/labkey/singlecell/run/NimbleAligner.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,21 +95,21 @@ public AlignmentOutput performAlignment(Readset rs, List<File> inputFastqs1, @Nu
9595
output.addIntermediateFiles(crOutput.getIntermediateFiles());
9696

9797
// Remove the whole 10x folder:
98-
output.addIntermediateFile(output.getBAM().getParentFile().getParentFile());
98+
output.addIntermediateFile(crOutput.getBAM().getParentFile().getParentFile());
9999

100100
try
101101
{
102102
if (localBam.exists())
103103
{
104104
localBam.delete();
105105
}
106-
FileUtils.copyFile(output.getBAM(), localBam);
106+
FileUtils.copyFile(crOutput.getBAM(), localBam);
107107

108108
if (localBamIdx.exists())
109109
{
110110
localBamIdx.delete();
111111
}
112-
FileUtils.copyFile(new File(output.getBAM().getPath() + ".bai"), localBamIdx);
112+
FileUtils.copyFile(new File(crOutput.getBAM().getPath() + ".bai"), localBamIdx);
113113
}
114114
catch (IOException e)
115115
{

0 commit comments

Comments
 (0)