Skip to content

Commit 69a5a57

Browse files
committed
Update logic for DISCVRseq JAR download
1 parent 2afeb16 commit 69a5a57

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

SequenceAnalysis/pipeline_code/sequence_tools_install.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,13 @@ then
282282
rm -Rf DISCVRSeq*
283283
rm -Rf ${LKTOOLS_DIR}/DISCVRSeq.jar
284284

285-
wget $WGET_OPTS https://github.com/BimberLab/DISCVRSeq/releases/download/1.29/DISCVRSeq-1.29.jar
286-
cp DISCVRSeq-1.29.jar ${LKTOOLS_DIR}/DISCVRSeq.jar
285+
curl -s https://api.github.com/repos/BimberLab/DISCVRSeq/releases/latest \
286+
| grep 'browser_download_url.*jar' \
287+
| cut -d : -f 2,3 \
288+
| tr -d \" \
289+
| wget -O DISCVRseq.jar -qi -
290+
291+
cp DISCVRSeq.jar ${LKTOOLS_DIR}/DISCVRSeq.jar
287292
fi
288293

289294

0 commit comments

Comments
 (0)