Skip to content

Commit

Permalink
fix multiple 2023 to 2024.
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhong committed Feb 19, 2024
1 parent b4f46c5 commit 39e0757
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ RUN cd ~ && git clone https://github.com/pachterlab/sleuth && \
RUN git clone https://github.com/kundajelab/phantompeakqualtools && \
Rscript -e "install.packages('phantompeakqualtools/spp_1.14.tar.gz')"

RUN path="/usr/local/lib/R/site-library/basicBioinformaticsDRC2023/extdata" && \
RUN path="/usr/local/lib/R/site-library/basicBioinformaticsDRC2024/extdata" && \
rm -rf ~/sleuth && \
cp -r $path/RNAseq /home/rstudio/ && \
cp -r $path/ChIPseq /home/rstudio/
Expand Down
10 changes: 5 additions & 5 deletions vignettes/scripts.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ All the following steps are running in Rstudio "Terminal" or "Console".

You may want to open the source of "scripts.Rmd" at the "Source Panes" by
```{r, eval=FALSE}
rstudioapi::documentOpen("/usr/local/lib/R/site-library/basicBioinformaticsDRC2023/doc/scripts.Rmd")
rstudioapi::documentOpen("/usr/local/lib/R/site-library/basicBioinformaticsDRC2024/doc/scripts.Rmd")
```

## Run kallisto and Salmon for RNA-seq

The sample files are packaged
in basicBioinformaticsDRC2023 package and Docker container.
in basicBioinformaticsDRC2024 package and Docker container.

Now we will download the zebrafish cDNA files from ENSEMBL in order to build the
Kallisto and Salmon transcript index. If you are doing rRNA depletion library,
Expand All @@ -92,7 +92,7 @@ chromosome 4, 13, 16 and 21 to speed up the test run.
mkdir data/RNAseq
cd data/RNAseq
# wget https://raw.githubusercontent.com/jianhong/genomictools/master/inst/extdata/Danio_rerio.GRCz11.cdna.toy.fa.gz
ln -s /usr/local/lib/R/site-library/basicBioinformaticsDRC2023/extdata/Danio_rerio.GRCz11.cdna.toy.fa.gz ./
ln -s /usr/local/lib/R/site-library/basicBioinformaticsDRC2024/extdata/Danio_rerio.GRCz11.cdna.toy.fa.gz ./
```

It will take several seconds to build the toy index.
Expand Down Expand Up @@ -177,7 +177,7 @@ If you have trouble in downloading the data from ensembl, try to load the pre-sa
object for the toy data.
```{r, eval=FALSE}
# t2g <- readRDS(url("https://raw.githubusercontent.com/jianhong/genomictools/master/inst/extdata/t2g.rds"))
t2g <- readRDS(system.file("extdata", "t2g.rds", package = "basicBioinformaticsDRC2023"))
t2g <- readRDS(system.file("extdata", "t2g.rds", package = "basicBioinformaticsDRC2024"))
head(t2g, n=3)
```

Expand Down Expand Up @@ -281,7 +281,7 @@ The data are only a subset of the whole genome. We will only use genes in
chromosome 4, 13, 16 and 21 to speed up the test run.
```{bash, eval=FALSE}
# wget https://raw.githubusercontent.com/jianhong/genomictools/master/inst/extdata/Danio_rerio.GRCz11.dna.toy.fa.gz
ln -s /usr/local/lib/R/site-library/basicBioinformaticsDRC2023/extdata/Danio_rerio.GRCz11.dna.toy.fa.gz ./
ln -s /usr/local/lib/R/site-library/basicBioinformaticsDRC2024/extdata/Danio_rerio.GRCz11.dna.toy.fa.gz ./
## the following step will take about 3min
bwa index -p GRCz11.toy Danio_rerio.GRCz11.dna.toy.fa.gz
```
Expand Down

0 comments on commit 39e0757

Please sign in to comment.