Skip to content

Commit c282829

Browse files
committed
velocyto bugfix
1 parent 71ca620 commit c282829

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public File runVelocytoFor10x(File localBam, File gtf, File outputFolder, @Nulla
102102
// velocyto run10x -m repeat_msk.gtf mypath/sample01 somepath/refdata-cellranger-mm10-1.2.0/genes/genes.gtf
103103
// velocyto run -b filtered_barcodes.tsv -o output_path -m repeat_msk_srt.gtf possorted_genome_bam.bam mm10_annotation.gtf
104104

105+
getLogger().debug("Using BAM: " + localBam.getPath());
106+
105107
SimpleScriptWrapper wrapper = new SimpleScriptWrapper(getLogger());
106108
List<String> args = new ArrayList<>();
107109
args.add(SequencePipelineService.get().getExeForPackage("VELOCYTOPATH", "velocyto").getPath());
@@ -112,7 +114,7 @@ public File runVelocytoFor10x(File localBam, File gtf, File outputFolder, @Nulla
112114

113115
args.add("-b");
114116
String sampleName = CellRangerWrapper.makeLegalSampleName(rs.getName());
115-
File barcodeCSV = new File(localBam.getParentFile(), sampleName + "/outs/raw_feature_bc_matrix/barcodes.tsv.gz");
117+
File barcodeCSV = new File(localBam.getParentFile(), "raw_feature_bc_matrix/barcodes.tsv.gz");
116118
if (!barcodeCSV.exists())
117119
{
118120
throw new PipelineJobException("Unable to find file: " + barcodeCSV.getPath());

0 commit comments

Comments
 (0)