Last updated: 2020-04-28

Checks: 7 0

Knit directory: BgeeCall_practical/

This reproducible R Markdown analysis was created with workflowr (version 1.6.1). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20200421) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 4287dd8. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/

Untracked files:
    Untracked:  PCA_dim_1vs2.png
    Untracked:  PCA_prop_explained_variance.png
    Untracked:  analyis.R
    Untracked:  dif_expressed_genes.tsv
    Untracked:  inputFile.tsv
    Untracked:  input_files/
    Untracked:  merge.R
    Untracked:  output_files/
    Untracked:  release.tsv

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/list_libraries.Rmd) and HTML (docs/list_libraries.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html f01becc Julien 2020-04-25 Build site.
Rmd 1e84e4a Julien 2020-04-25 wflow_publish(files = c(“analysis/analysis.Rmd”, “analysis/classes_description.Rmd”,
Rmd 625ed05 Julien 2020-04-24 wflow_publish(files = c(“analysis/analysis.Rmd”, “analysis/classes_description.Rmd”,
html 3f5d76c Julien 2020-04-24 Build site.
html 64f7db8 Julien 2020-04-24 Build site.
Rmd 590e07d Julien 2020-04-24 wflow_publish(files = c(“analysis/analysis.Rmd”, “analysis/classes_description.Rmd”,
html 2c7601e Julien 2020-04-24 Build site.
Rmd 6da0a8d Julien 2020-04-24 wflow_publish(files = c(“analysis/analysis.Rmd”, “analysis/classes_description.Rmd”,
html 31a895f Julien 2020-04-23 Build site.
Rmd 62ab911 Julien 2020-04-23 wflow_publish(“analysis/list_libraries.Rmd”)
html 3ad770c Julien 2020-04-23 Build site.
Rmd a15d09a Julien 2020-04-23 wflow_publish(“analysis/list_libraries.Rmd”)
html ee53d8b Julien 2020-04-23 Build site.
html 103a7ee Julien 2020-04-22 Build site.
html 2727bde Julien 2020-04-22 Build site.
Rmd 42c7979 Julien 2020-04-22 wflow_publish(“analysis/list_libraries.Rmd”)
html fa1d5be Julien 2020-04-22 Build site.
Rmd bce26b3 Julien 2020-04-22 wflow_publish(“analysis/list_libraries.Rmd”)
html d93bad7 Julien 2020-04-22 update all html files
Rmd 454071e Julien 2020-04-22 create backbone of the website
html 454071e Julien 2020-04-22 create backbone of the website

Introduction

This page describe how to generate present/absent calls for a list of RNA-Seq library.

BgeeMetadata and KallistoMetadata objects

These 2 classes are useful to tune how BgeeCall works.
No need to create an object of the class BgeeMetada as only default values will be used (last official Bgee intergenic release).
An object of the KallistoMetadata class has to be created to specify to download kallisto (as it is not installed on RStudio cloud).

kallisto <- new("KallistoMetadata", download_kallisto = TRUE)

File describing UserMetadata objects

BgeeCall uses a tsv file to generate present/absent calls for more than one library. In this file each line will be used to generate one UserMetadata object. Each column of this file correspond to the value of one slot of the object. A template of the file called inputFile.tsv is present in the input_files directory of the project.

The columns of this file are :

  • species_id : The NCBI ID of the species.
  • reads_size : The size of the reads of the RNA-Seq library.
  • rnaseq_lib_path : Path to the directory containing fastq files of the library.
  • transcriptome_path : path to the transcriptome file.
  • annotation_path : path to the genome annotation file. Works with GTF of GFF3 files.
  • working_path : path to the working directory where results at species level will be stored (kallisto index, transcriptome with intergenic, etc.)
  • output_directory : path to directory where calls of one RNA-Seq library have to be written (e.g. /path/to/output/LIBRARY_ID/)

Generate present/absent calls

Now that all objects and files have been created it is possible to run the generation of present/absent gene expression calls with one line of code

generate_calls_workflow(abundanceMetadata = kallisto, userFile = "PATH_TO_INPUT_FILE.tsv")

sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.4 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so

locale:
 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=fr_FR.UTF-8        LC_COLLATE=en_GB.UTF-8    
 [5] LC_MONETARY=fr_FR.UTF-8    LC_MESSAGES=en_GB.UTF-8   
 [7] LC_PAPER=fr_FR.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] BgeeCall_1.2.1  workflowr_1.6.1

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.3                  lattice_0.20-41            
 [3] prettyunits_1.1.1           Rsamtools_2.2.3            
 [5] Biostrings_2.54.0           assertthat_0.2.1           
 [7] rprojroot_1.3-2             digest_0.6.25              
 [9] BiocFileCache_1.10.2        R6_2.4.1                   
[11] GenomeInfoDb_1.22.0         backports_1.1.5            
[13] stats4_3.6.3                RSQLite_2.2.0              
[15] evaluate_0.14               httr_1.4.1                 
[17] pillar_1.4.3                zlibbioc_1.32.0            
[19] rlang_0.4.5                 GenomicFeatures_1.38.2     
[21] progress_1.2.2              curl_4.3                   
[23] whisker_0.4                 blob_1.2.1                 
[25] S4Vectors_0.24.3            Matrix_1.2-18              
[27] rmarkdown_2.1               BiocParallel_1.20.1        
[29] stringr_1.4.0               RCurl_1.98-1.1             
[31] bit_1.1-15.2                biomaRt_2.42.0             
[33] DelayedArray_0.12.2         compiler_3.6.3             
[35] httpuv_1.5.2                rtracklayer_1.46.0         
[37] xfun_0.12                   pkgconfig_2.0.3            
[39] askpass_1.1                 BiocGenerics_0.32.0        
[41] htmltools_0.4.0             tximport_1.14.0            
[43] openssl_1.4.1               tidyselect_1.0.0           
[45] SummarizedExperiment_1.16.1 tibble_2.1.3               
[47] GenomeInfoDbData_1.2.2      matrixStats_0.55.0         
[49] IRanges_2.20.2              XML_3.99-0.3               
[51] crayon_1.3.4                dplyr_0.8.4                
[53] dbplyr_1.4.2                later_1.0.0                
[55] GenomicAlignments_1.22.1    bitops_1.0-6               
[57] rappdirs_0.3.1              grid_3.6.3                 
[59] jsonlite_1.6.1              DBI_1.1.0                  
[61] git2r_0.26.1                magrittr_1.5               
[63] stringi_1.4.6               XVector_0.26.0             
[65] fs_1.3.2                    promises_1.1.0             
[67] vctrs_0.2.3                 Rhdf5lib_1.8.0             
[69] tools_3.6.3                 bit64_0.9-7                
[71] Biobase_2.46.0              glue_1.3.1                 
[73] purrr_0.3.3                 hms_0.5.3                  
[75] parallel_3.6.3              yaml_2.2.1                 
[77] rhdf5_2.30.1                AnnotationDbi_1.48.0       
[79] GenomicRanges_1.38.0        memoise_1.1.0              
[81] knitr_1.28