Skip to content

Commit

Permalink
Minor changes to log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sayantansls committed Nov 25, 2020
1 parent a72b1d6 commit 0aa7e2e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cd src/vcf_generator/version3/
PYTHONPATH=../../common/ python3 vcf_generator_ver3.py

echo 'INFO: output file present at location - data/output/'
echo 'INFO : output file present at location - data/output/'

cd ../../common/

Expand Down
36 changes: 18 additions & 18 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
echo "INFO: Starting the setup for vcf-generator"
echo "INFO: Checking scripts and files status"
echo "INFO : Starting the setup for vcf-generator"
echo "INFO : Checking scripts and files status"

cd data/

Expand All @@ -10,50 +10,50 @@ GENES_37="strandomics_input_data/GrCh37/genes.tsv"
GENES_38="strandomics_input_data/GrCh38/genes_38.tsv"

if [[ -f $GENES_37 ]]; then
echo "SUCCESS: GrCh37 genes.tsv file present"
echo "SUCCESS : GrCh37 genes.tsv file present"
else
echo "FAIL: GrCh37 genes.tsv file absent"
echo "FAIL : GrCh37 genes.tsv file absent"
fi

if [[ -f $GENES_38 ]]; then
echo "SUCCESS: GrCh38 genes_38.tsv file present"
echo "SUCCESS : GrCh38 genes_38.tsv file present"
else
echo "FAIL: GrCh38 genes_38.tsv file absent"
echo "FAIL : GrCh38 genes_38.tsv file absent"
fi

if [[ -f vcf_template/vcf_template.vcf ]]; then
echo "SUCCESS: VCF template file present"
echo "SUCCESS : VCF template file present"
else
echo "FAIL: VCF template file absent"
echo "FAIL : VCF template file absent"
fi

echo "INFO: The binary human genome reference data to be downloaded"
echo "INFO : The binary human genome reference data to be downloaded"

if [[ ! -f $HG_19 ]]; then
echo "INFO: Begining the download of GrCh37 data - hg19.2bit....."
echo "INFO : Begining the download of GrCh37 data - hg19.2bit....."
wget http://hgdownload.cse.ucsc.edu/goldenpath/hg19/bigZips/hg19.2bit
echo "INFO: Download of GrCh37 data - hg19.2bit ends"
echo "INFO : Download of GrCh37 data - hg19.2bit ends"
mv hg19.2bit human_genome_data/GrCh37/
fi

if [[ -f $HG_19 ]]; then
echo "SUCCESS: hg19.2bit file downloaded and placed in appropriate location"
echo "SUCCESS : hg19.2bit file downloaded and placed in appropriate location"
else
echo "FAIL: hg19.2bit file absent"
echo "FAIL : hg19.2bit file absent"
fi

if [[ ! -f $HG_38 ]]; then
echo "INFO: Begining the download of GrCh38 data - hg38.2bit....."
echo "INFO : Begining the download of GrCh38 data - hg38.2bit....."
wget http://hgdownload.cse.ucsc.edu/goldenpath/hg38/bigZips/hg38.2bit
echo "INFO: Download of GrCh38 data - hg38.2bit ends"
echo "INFO : Download of GrCh38 data - hg38.2bit ends"
mv hg38.2bit human_genome_data/GrCh38/
fi

if [[ -f $HG_38 ]]; then
echo "SUCCESS: hg38.2bit file downloaded and placed in appropriate location"
echo "SUCCESS : hg38.2bit file downloaded and placed in appropriate location"
else
echo "FAIL: hg38.2bit file absent"
echo "FAIL : hg38.2bit file absent"
fi

echo "INFO: All input files successfully present"
echo "INFO : All input files successfully present"

0 comments on commit 0aa7e2e

Please sign in to comment.