Skip to content

Commit

Permalink
added herediclassify bedtools install
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Apr 12, 2024
1 parent 255eef7 commit ddc8ad8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/frontend_celery/start_herediclass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ autoclass_path=$ROOT/tools/herediclass
cd $autoclass_path

source .venv/bin/activate
export PATH="$autoclass_path/tools/bedtools2/bin:$PATH"
export PATH="$ROOT/tools/samtools:$PATH"
export PATH="$ROOT/tools/htslib:$PATH"

#which sortBed
#which samtools

if [ "${WEBAPP_ENV}" == "dev" ]
then
Expand Down
10 changes: 9 additions & 1 deletion tools/script/install_herediclass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,22 @@ bash $variant_classification_path/install_dependencies/install_pyensembl.sh -v 1

sed -r -i "s:/variant_classification::g" $variant_classification_path/install_dependencies/download_data.sh

bash $variant_classification_path/install_dependencies/download_data.sh -p $variant_classification_path

# download data
bash $variant_classification_path/install_dependencies/download_data.sh -p $variant_classification_path

cd databases/Clinvar
wget --no-check-certificate https://download.imgag.de/ahdoebm1/extern/clinvar_spliceai_all_sorted.vcf.gz
in_path_spliceai_clinvar=$variant_classification_path/databases/Clinvar/clinvar_spliceai_all_sorted.vcf.gz
python $variant_classification_path/install_dependencies/data_filter_clinvar.py -i $in_path_spliceai_clinvar

# install bedtools
cd $variant_classification_path
mkdir -p tools
cd tools
chmod 755 $variant_classification_path/install_dependencies/install_bedtools.sh
$variant_classification_path/install_dependencies/install_bedtools.sh -p $variant_classification_path/tools -v 2.29.1


# adjust configuration
cd $variant_classification_path
Expand Down

0 comments on commit ddc8ad8

Please sign in to comment.