Skip to content

Commit 6545d95

Browse files
committed
Update AppendCiteSeq for newer versions
1 parent e285a64 commit 6545d95

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

singlecell/src/org/labkey/singlecell/pipeline/singlecell/AppendCiteSeq.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,14 @@ protected Map<Integer, File> prepareCountData(SingleCellOutput output, SequenceO
132132

133133
if (dropAggregateBarcodes)
134134
{
135+
// NOTE: this is the location in CellRanger <= 6.x
135136
File aggregateCountFile = new File(existingCountMatrixUmiDir.getParentFile(), "antibody_analysis/aggregate_barcodes.csv");
137+
if (!aggregateCountFile.exists())
138+
{
139+
// This is the location for >= 7.x
140+
aggregateCountFile = new File(existingCountMatrixUmiDir.getParentFile(), "aggregate_barcodes.csv");
141+
}
142+
136143
if (!aggregateCountFile.exists())
137144
{
138145
throw new PipelineJobException("Unable to find aggregate count file: " + aggregateCountFile.getPath());

0 commit comments

Comments
 (0)