Skip to content

Instantly share code, notes, and snippets.

@wbazant
Last active September 18, 2017 18:02
Show Gist options
  • Select an option

  • Save wbazant/77b9b7791199b71cba331a8b3230fe89 to your computer and use it in GitHub Desktop.

Select an option

Save wbazant/77b9b7791199b71cba331a8b3230fe89 to your computer and use it in GitHub Desktop.
/var/tmp/E-GEOD-59831/E-GEOD-59831.g2_g1.go.gsea.tsv:GO:0003713 transcription coactivator activity 29 0.619039162220047 0.912487999596444 12 17 1987 2686 0.973314243328561
/var/tmp/new-annotations/E-GEOD-59831/E-GEOD-59831.g2_g1.go.gsea.tsv:GO:0003713 transcription coactivator activity 29 0.619039162220047 0.912487999596444 12 17 1987 2686 0.973314243328561
/ebi/ftp/pub/databases/microarray/data/atlas/experiments/E-GEOD-59831/archive/E-GEOD-59831.g2_g1.go.gsea.tsv.1:GO:0003713 transcription coactivator activity 100 0.00246585317392181 0.0472275722799049 51 49 5635 9730 1.38711748153359
/ebi/ftp/pub/databases/microarray/data/atlas/experiments/E-GEOD-59831/archive/E-GEOD-59831.g2_g1.go.gsea.tsv.2:GO:0003713 transcription coactivator activity 100 0.00061011434295709 0.0236835294947888 53 47 5588 9693 1.44512143237015
/var/tmp/previous/E-GEOD-59831/E-GEOD-59831.g2_g1.go.gsea.tsv:GO:0003713 transcription coactivator activity 29 0.631141987994359 0.922293749207595 12 17 1954 2610 0.966709930894166
/var/tmp/new-annotations-old-ensembl/E-GEOD-59831/E-GEOD-59831.g2_g1.go.gsea.tsv:GO:0003713 transcription coactivator activity 52 4.69137459508384e-06 0.000689356102265849 33 19 3645 7588 1.9471545990714
@wbazant

wbazant commented Sep 18, 2017

Copy link
Copy Markdown
Author

#grep GO:0003713 /var/tmp/E-GEOD-59831/E-GEOD-59831.g2_g1.go.gsea.tsv /var/tmp/new-annotations/E-GEOD-59831/E-GEOD-59831.g2_g1.go.gsea.tsv /ebi/ftp/pub/databases/microarray/data/atlas/experiments/E-GEOD-59831/archive/E-GEOD-59831.g2_g1.go.gsea.tsv* /var/tmp/previous/E-GEOD-59831/E-GEOD-59831.g2_g1.go.gsea.tsv /var/tmp/new-annotations-old-ensembl/E-GEOD-59831/E-GEOD-59831.g2_g1.go.gsea.tsv

@wbazant

wbazant commented Sep 18, 2017

Copy link
Copy Markdown
Author

mkdir -p $ATLAS_PROD/go-unstable

function symlinkAndArchive() {
mkdir -p $2
if [[ -e $1 ]] ; then
rm $1
fi
ln -s $2 $1
}

for ensemblFolder in $(ls -d /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_*) ; do
symlinkAndArchive $ATLAS_PROD/bioentity_properties/ensembl $ensemblFolder
target_dir="$ATLAS_PROD/go-unstable/$(basename $ensemblFolder)"
mkdir $target_dir
cp $ATLAS_EXPS/E-GEOD-59831/E-GEOD-59831-analytics.tsv $target_dir
cp $ATLAS_EXPS/E-GEOD-59831/E-GEOD-59831-configuration.xml $target_dir
/nfs/production3/ma/home/atlas3-production/sw/atlasinstall_prod/atlasprod/irap/gxa_generate_gsea_for_differential_experiment.sh
$target_dir 2>&1 > $target_dir/log.out
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment