Changes between Version 59 and Version 60 of SopConvertLifeLinesGenoData


Ignore:
Timestamp:
2013-02-08T08:37:41+01:00 (12 years ago)
Author:
Morris Swertz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SopConvertLifeLinesGenoData

    v59 v60  
    1751752. Read manuals for use: http://www.molgenis.org/svn/standalone_tools/manuals/
    176176
    177 = Additional scripts ==
     177= Additional scripts =
    178178
    179179Define the source folders (where data has been converted) and final destination (folder where data is served). Sometimes the name are different.
     
    220220
    221221rm /target/gpfs2/lifelines-genome/home/${targets[i]}/temp*
     222rm /target/gpfs2/lifelines-genome/home/${targets[i]}/imputed/test*
     223rm /target/gpfs2/lifelines-genome/home/${targets[i]}/jobs*
    222224chown -R $user /target/gpfs2/lifelines-genome/home/${targets[i]}/*
    223225chmod -R a-rw /target/gpfs2/lifelines-genome/home/${targets[i]}/*
     
    229231done
    230232}}}
     233
     234Count files to see if indeed all completed
     235
     236{{{
     237for (( i=0; i<=$(( $total -1 )); i++ )) do
     238if [ -d /target/gpfs2/lifelines-genome/home/${targets[i]}/ ] && [ -d /target/gpfs2/lifelines_rp/releases/LL3/${sources[i]}/ ]; then
     239
     240echo "${sources[i]} -> ${targets[i]}"
     241echo "raw"
     242ls -lah /target/gpfs2/lifelines_rp/releases/LL3/${sources[i]}/raw | wc -l
     243ls -lah /target/gpfs2/lifelines-genome/home/${targets[i]}/raw | wc -l
     244echo "imputed"
     245ls -lah /target/gpfs2/lifelines_rp/releases/LL3/${sources[i]}/imputed | wc -l
     246ls -lah /target/gpfs2/lifelines-genome/home/${targets[i]}/imputed | wc -l
     247
     248fi
     249done
     250}}}