Skip to content

Commit

Permalink
Update AppendCiteSeq for newer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Aug 7, 2024
1 parent e285a64 commit 6545d95
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,14 @@ protected Map<Integer, File> prepareCountData(SingleCellOutput output, SequenceO

if (dropAggregateBarcodes)
{
// NOTE: this is the location in CellRanger <= 6.x
File aggregateCountFile = new File(existingCountMatrixUmiDir.getParentFile(), "antibody_analysis/aggregate_barcodes.csv");
if (!aggregateCountFile.exists())
{
// This is the location for >= 7.x
aggregateCountFile = new File(existingCountMatrixUmiDir.getParentFile(), "aggregate_barcodes.csv");
}

if (!aggregateCountFile.exists())
{
throw new PipelineJobException("Unable to find aggregate count file: " + aggregateCountFile.getPath());
Expand Down

0 comments on commit 6545d95

Please sign in to comment.