Created
May 15, 2017 16:45
-
-
Save wbazant/55e188f728c40b3eeed0aec3fb62db78 to your computer and use it in GitHub Desktop.
Atlas numbers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#count assay groups per experiment - $ATLAS_FTP/experiments | |
for e in $(ls /ebi/ftp/pub/databases/microarray/data/atlas/experiments | grep E-); do grep -P '<assay' $e/$e-configuration.xml | grep -v assay_group | wc -l | awk -v "EXP=$e" '{print EXP "\t" $1}'; done | tee /var/tmp/assay-groups-per-exp-prod.txt | |
#count assay groups per experiment - $ATLAS_EXPS | |
for e in $(ls /nfs/public/ro/fg/atlas/experiments | grep E-); do grep -P '<assay' $e/$e-configuration.xml | grep -v assay_group | wc -l | awk -v "EXP=$e" '{print EXP "\t" $1}'; done | tee /var/tmp/assay-groups-per-exp.txt | |
#assay groups in last release | |
cat /var/tmp/assay-groups-per-exp-prod.txt | cut -f 2 -d $'\t' | paste -sd+ - | bc | |
#82485 | |
#assay groups in this release | |
cat /var/tmp/assay-groups-per-exp.txt | cut -f 2 -d $'\t' | paste -sd+ - | bc | |
#83789 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment