Skip to content

Commit ce9756a

Browse files
committed
Fix merge conflicts
2 parents 1582c23 + af83b52 commit ce9756a

File tree

3 files changed

+71
-18
lines changed

3 files changed

+71
-18
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: 23 additions & 16 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: 19 additions & 2 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,12 +638,28 @@ 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+
if (parent.getPath().endsWith("bin"))
653+
{
654+
parent = parent.getParentFile();
655+
}
656+
657+
exePath = parent.toPath().resolve(exePath);
658+
logger.debug("resolved symlink target: " + exePath);
659+
}
660+
661+
exe = exePath.toFile();
662+
logger.debug("cellranger resolved symlink target: " + exe.getPath());
646663
}
647664
catch (IOException e)
648665
{

0 commit comments

Comments
 (0)