This is the analysis code for stepwise gene expression inducing anhydrobiotic state transition and the gene regulatory network in larvae of Polypedilum vanderplanki. This project is carried out in Funahashi Lab. at Keio University.
Main findings of this study is that larvae of P. vanderplanki show stepwise gene expression changes during desiccation and these stepwise expression changes can be explained by gene regulatory networks initiated by two transcription factors.
The detailed information on this code is described in our paper published on Stepwise gene expression inducing anhydrobiotic state transition and the gene regulatory network in larvae of Polypedilum vanderplanki.
We have confirmed that our code works correctly on MacOS 12.7.6 in Mac Pro (Intel Xeon W processor). All code works on R version 4.5.1.
% cd 00_QualityControl
% ./00_1_QualityCheck_RawData.shAdd adapter sequences to AdapterSequence/AdapterSequence_1stQC.fasta.
% ./00_2_1stQualityControl_Check.shAdd adapter sequences to AdapterSequence/AdapterSequence_2ndQC.fasta.
% ./00_3_2ndQualityControl_Check.shIf quality controls are insufficient, repeatedly add adapter sequences or sequences you should trim.
% cd 01_ReadMapping
% ./01_1_ReadMapping.sh% cd 02_ReadCount
% Rscript 02_1_QuantifyExpression.R
% Rscript 02_2_ValidateQuantifiedExpression.R% cd 03_TFScreening
% ./03_1_MakeGOMapAndExtractGenesWithGO0003700.R% cd 04_Clustering
% Rscript 04_1_Clustering.R% cd 05_PrincipalComponentAnalysis
% Rscript 05_1_PrincipalComponentAnalysis.R
% Rscript 05_2_GSEAForPCAResult.R% cd 06_DEGDetection
% Rscript 06_1_DEGDetection.R
% Rscript 06_2_DEGDetection_EachTimepoint.R
% Rscript 06_3_PlotHeatmapDETF.R
% Rscript 06_4_PlotHistgramTPM.R% cd 07_ModuleDetection
% Rscript 07_1_ModuleDetectionWithWGCNA.R
% Rscript 07_2_GOEnrichmentAnalysis_WithGOstats.R
% Rscript 07_3_AnhydrobiosisInducedGenesAnalysis.RInference between TF-TF regulations.
Download BTNET and put to 08_NetworkInference/TF2TF/.
% cd ./08_NetworkInference/TF2TF/BTNET/
% virtualenv btnet_2.7.16
% source btnet_2.7.16/bin/activate
% pip install numpy sklearn pandas graphviz
% python 1_InferWithBTNET.py
% Rscript 2_SelectThreshold.RInference between TF-Modules.
- Preparation: Homology research for binding P.vanderplanki and D.melanogaster
% cd ./08_NetworkInference/TF2TG/08_1_HomologyResearch/
% Rscript 08_1_1_ExtractTFsAAseq_Pv.R
% ./08_1_2_HomologyResearchWithDmelProt.sh
% Rscript 08_1_3_ExtractResultBBH.R- Binding prediction: Motif enrichment analysis using CLOVER
Download CLOVER and put to
08_NetworkInference/TF2TG/08_2_MotifEnrichmentAnalysis/
% cd ./08_NetworkInference/TF2TG/08_2_MotifEnrichmentAnalysis/
% Rscript 08_2_1_ExtractTSSUpstreamSeqEachModule.R
% ./08_2_2_CatAllMotifs.sh
% Rscript 08_2_3_ExtractHomologue.R
% zsh 08_2_4_MEAbyCLOVERBasedOnTSS.sh upstream800base_downstream50base
% Rscript 08_2_5_ExtractMEAResult.R- Causality prediction: Granger causality test using VAR model
% cd ./08_NetworkInference/TF2TG/08_3_GrangerCausalityTest/
% Rscript 08_3_1_GrangerCausalityTest.R- Integration of TF-TF network and TF-Module network
% cd ./08_NetworkInference/Integration/
% Rscript IntegrationGRN.R% cd ./09_NetworkAnalysis/
% Rscript 09_1_NetworkRandomizationTest.R
% Rscript 09_2_NetworkSubstructureEnrichmentAnalysis.R
% Rscript 09_3_SPLFocusedCorrelationTestForStepwiseGeneActivation.RVisualization of expression profiles of NF-YA, NF-YC, Six4, and HSF
% cd 10_AdditionalAnalysis
% Rscript 10_1_PlotExpression.RThe research was funded by
- JSPS KAKENHI Grant Number 22H00372 to Takahiro Kikawada and Akira Funahashi
- HORIZON-MSCA-2022-SE-01_Project ID:101131087 (WhyNotDry) to Takahiro Kikawada
- JSPS KAKENHI Grant Number 21J20961 to Yusuke Hiki