Skip to content

Commit c98ea8f

Browse files
authored
Merge pull request #362 from BimberLab/25.11_fb_merge_25.7
Merge 25.7 to 25.11
2 parents 1582c23 + 8ffb570 commit c98ea8f

File tree

3 files changed

+62
-16
lines changed

3 files changed

+62
-16
lines changed

SequenceAnalysis/pipeline_code/extra_tools_install.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,3 +350,32 @@ then
350350
else
351351
echo "Already installed"
352352
fi
353+
354+
355+
echo ""
356+
echo ""
357+
echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
358+
echo "Install hifiasm"
359+
echo ""
360+
cd $LKSRC_DIR
361+
if [[ ! -e ${LKTOOLS_DIR}/primer3_core || ! -z $FORCE_REINSTALL ]];
362+
then
363+
echo "Cleaning up previous installs"
364+
rm -Rf $LKTOOLS_DIR/hifiasm*
365+
rm -Rf $LKTOOLS_DIR/yak*
366+
rm -Rf hifiasm*
367+
rm -Rf yak*
368+
369+
git clone https://github.com/chhylp123/hifiasm
370+
cd hifiasm
371+
make
372+
install hifiasm $LKTOOLS_DIR/
373+
cd ../
374+
375+
git clone https://github.com/lh3/yak
376+
cd yak
377+
make
378+
install yak $LKTOOLS_DIR/
379+
else
380+
echo "Already installed"
381+
fi

jbrowse/package-lock.json

Lines changed: 18 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
import java.io.File;
5353
import java.io.IOException;
5454
import java.nio.file.Files;
55+
import java.nio.file.Path;
5556
import java.util.ArrayList;
5657
import java.util.Arrays;
5758
import java.util.Collection;
@@ -637,20 +638,31 @@ public enum Chemistry
637638

638639
public File getInclusionListFile(Logger logger) throws PipelineJobException
639640
{
640-
File exe = new CellRangerWrapper(logger).getExe();
641+
File exe = new CellRangerWrapper(logger).getExe().getAbsoluteFile();
642+
logger.debug("cellranger executable: " + exe.getPath());
641643
if (Files.isSymbolicLink(exe.toPath()))
642644
{
643645
try
644646
{
645-
exe = Files.readSymbolicLink(exe.toPath()).toFile();
647+
Path exePath = Files.readSymbolicLink(exe.toPath());
648+
logger.debug("cellranger symlink target: " + exePath);
649+
if (!exePath.isAbsolute())
650+
{
651+
File parent = exe.getParentFile();
652+
exePath = parent.toPath().resolve(exePath);
653+
logger.debug("resolved symlink target: " + exePath);
654+
}
655+
656+
exe = exePath.toFile();
657+
logger.debug("cellranger resolved symlink target: " + exe.getPath());
646658
}
647659
catch (IOException e)
648660
{
649661
throw new PipelineJobException(e);
650662
}
651663
}
652664

653-
File il = new File(exe.getParentFile(), "lib/python/cellranger/barcodes/" + _inclusionListFile);
665+
File il = new File(exe.getParentFile(), "../lib/python/cellranger/barcodes/" + _inclusionListFile);
654666
if (!il.exists())
655667
{
656668
throw new PipelineJobException("Unable to find file: " + il.getPath());

0 commit comments

Comments
 (0)