Wicri:PlantPathoEffV1

De Wicri Bois

Cette page introduit les aspects techniques de la version PlantPathoEffV1 du « Serveur d'exploration sur les effecteurs de phytopathogènes ».

Voir aussi :

Initialisation

Ce serveur a probablement été initialisé par la commande NlmPubMedExplorCorpus avec le script suivant :

cd $WICRI_ROOT/Bois/explor/PlantPathoEff.storage

NlmPubMedExplorCorpus  -d PlantPathoEffV1  \
          -q "("plant s"[All Fields] OR "planted"[All Fields] OR "planting"[All Fields] OR "plantings"[All Fields] OR "plants"[MeSH Terms] OR "plants"[All Fields] OR "plant"[All Fields]) AND ("pathogen"[All Fields] OR "pathogen s"[All Fields] OR "pathogene"[All Fields] OR "pathogenes"[All Fields] OR "pathogenic"[All Fields] OR "pathogenically"[All Fields] OR "pathogenicities"[All Fields] OR "pathogenicity"[MeSH Subheading] OR "pathogenicity"[All Fields] OR "virulence"[MeSH Terms] OR "virulence"[All Fields] OR "pathogenity"[All Fields] OR "pathogenous"[All Fields] OR "pathogens"[All Fields]) AND ("effector"[All Fields] OR "effectors"[All Fields])" -s 2000    \
          -l %wicriLink -p wicriPath \
          -t "Serveur d'exploration sur les effecteurs de phytopathogènes"

Installation

Installation des données sur LorExplor, initialisation

Dans tous les cas, sur le site LorExplor, le serveur sera installé sur le répertoire :

$WICRI_ROOT/Bois/explor/PlantPathoEff.storage

Le protocole d'initialisation est donc le suivant :

source /applis/lorexplor/Dilib/init.sh

mkdir $WICRI_ROOT/Bois/explor/PlantPathoEff.storage

cd $WICRI_ROOT/Bois/explor/PlantPathoEff.storage


Génération à partir d'une machine locale

A l'issue de la commande NlmPubMedExplorCorpus.

Sur la machine locale
 tar -cvf PlantPathoEffV1.tar PlantPathoEffV1
 gzip PlantPathoEffV1.tar

 scp PlantPathoEffV1.tar.gz $ISTEX_SCP:$WICRI_TARGET_ROOT/Bois/explor/PlantPathoEff.storage
Sur la machine LorExplor
cd $WICRI_ROOT/Bois/explor/PlantPathoEff.storage

gunzip PlantPathoEffV1.tar.gz
tar -xvf PlantPathoEffV1.tar
gzip PlantPathoEffV1.tar

Définition des liens pour visibilité Web

Sur la machine LorExplor
source /applis/lorexplor/Dilib/init.sh
cd $WICRI_ROOT/Bois/explor
ln -s PlantPathoEff.storage/PlantPathoEffV1 .
cd /applis/lorexplor/www/html/Wicri/Bois/explor
ln -s $WICRI_ROOT/Bois/explor/PlantPathoEffV1 .

Mise à jour

Définition EXPLOR_AREA

EXPLOR_AREA=$WICRI_ROOT/Bois/explor/PlantPathoEff.storage/PlantPathoEffV1
export EXPLOR_AREA
export LC_ALL='C'


Chargement d'une nouvelle version des données

cd $EXPLOR_AREA
mkdir Import/Archive
mv Import/pubmed_result.xml Import/Archive/.
NlmPubMedGetCorpus -q "("plant s"[All Fields] OR "planted"[All Fields] OR "planting"[All Fields] OR "plantings"[All Fields] OR "plants"[MeSH Terms] OR "plants"[All Fields] OR "plant"[All Fields]) AND ("pathogen"[All Fields] OR "pathogen s"[All Fields] OR "pathogene"[All Fields] OR "pathogenes"[All Fields] OR "pathogenic"[All Fields] OR "pathogenically"[All Fields] OR "pathogenicities"[All Fields] OR "pathogenicity"[MeSH Subheading] OR "pathogenicity"[All Fields] OR "virulence"[MeSH Terms] OR "virulence"[All Fields] OR "pathogenity"[All Fields] OR "pathogenous"[All Fields] OR "pathogens"[All Fields]) AND ("effector"[All Fields] OR "effectors"[All Fields])" -s 250 -x  > Import/pubmed_result.xml

Restauration complète

Solution 1
cd $EXPLOR_AREA
ExplorAreaRestart -l 3
En pas à pas
sh $EXPLOR_AREA/bin/AreaReset.sh
ExplorAreaDataCreate -d $EXPLOR_AREA
make -f $EXPLOR_AREA/bin/area.mk
sh $EXPLOR_AREA/bin/AreaCreateSite.fr.sh
cat $EXPLOR_AREA/Import/ListKeys.wiki       \
  |  MediaWikiCleanTable                     \
  | MediaWikiTable2SxmlRowCol                \
  | MediaWikiTableTransformCol -t 123 -T 4   \
  > $EXPLOR_AREA/Input/ListKeys.xml
ExplorGenerTemplateSize -f $EXPLOR_AREA/Input/ListKeys.xml > $EXPLOR_AREA/exportSize.xml
MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMaps.xml
source $EXPLOR_AREA/FixBin/AreaGenerWikiTemplateMaps.sh >> $EXPLOR_AREA/exportMaps.xml
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml
MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportInclude.xml
source $EXPLOR_AREA/FixBin/AreaGenerWikiTemplateInclude.sh >> $EXPLOR_AREA/exportInclude.xml
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportInclude.xml

Installation de la nouvelle version

Sur la machine LorExplor
source /applis/lorexplor/Dilib/init.sh
cd $WICRI_ROOT/Bois/explor/PlantPathoEff.storage
rm PlantPathoEffV1.tar.gz
Sur la machine de développement
cd $WICRI_ROOT/Bois/explor/PlantPathoEff.storage
rm PlantPathoEffV1.tar.gz
tar -cvf PlantPathoEffV1.tar PlantPathoEffV1
gzip PlantPathoEffV1.tar
scp PlantPathoEffV1.tar.gz $ISTEX_SCP:$WICRI_TARGET_ROOT/Bois/explor/PlantPathoEff.storage

Voir aussi

Cette page est générée à partir de