Commit 99808f8a authored by Damien VINTACHE's avatar Damien VINTACHE
Browse files

check the result files Results/Samples/*/*/*.out.bam.bai

parent a069f6ac
65b9f55b0d1617af383b89bd515d6d85 Results/Samples/80_CT_1_chr22/STAR/80_CT_1_chr22Aligned.sortedByCoord.out.bam.bai
c6debff864a41aeb18821274007de5ce Results/Samples/81_CT_2_chr22/STAR/81_CT_2_chr22Aligned.sortedByCoord.out.bam.bai
5521dc604a4614766c0da0bd9febcf92 Results/Samples/82_CT_3_chr22/STAR/82_CT_3_chr22Aligned.sortedByCoord.out.bam.bai
4b6d5e49cb6802f898f5f98f4941f03b Results/Samples/83_CT_4_chr22/STAR/83_CT_4_chr22Aligned.sortedByCoord.out.bam.bai
2c9090c46cb571ecbd20148b1d9091da Results/Samples/96_BEZ_1_chr22/STAR/96_BEZ_1_chr22Aligned.sortedByCoord.out.bam.bai
06504482fa638bd0aa0398736906c879 Results/Samples/97_BEZ_2_chr22/STAR/97_BEZ_2_chr22Aligned.sortedByCoord.out.bam.bai
69ab20c464fb079f42910837d13b3248 Results/Samples/98_BEZ_3_chr22/STAR/98_BEZ_3_chr22Aligned.sortedByCoord.out.bam.bai
c13563b2654543566cc4253e14b36cb1 Results/Samples/99_BEZ_4_chr22/STAR/99_BEZ_4_chr22Aligned.sortedByCoord.out.bam.bai
......@@ -28,10 +28,11 @@ snakemake -rp --jobs ${2} --config projf="CONFIG/project.json" reff="CONFIG/refe
# check the result
echo "=== check the result ==="
export checksum="89c0a3d1cc26f67c5262c0f6b7a6f341"
export checksum_ref="89c0a3d1cc26f67c5262c0f6b7a6f341"
if [[ "$checksum" == "$checksum_ref" ]]; then
export nbLines=`wc -l .ci/jenkins/data/md5sumFile | gawk -F" " '{ print $1 }'`
export nbSuccess=`md5sum --check .ci/jenkins/data/md5sumFile | grep 'OK' | wc -l`
if [[ "$nbLines" == "$nbSuccess" ]]; then
echo "succes"
else
echo "failure"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment