Skip to content

Commit

Permalink
Update and rename simulate_PBMC.sh to Run_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alihamraoui authored Oct 21, 2024
1 parent 0f1d36b commit f5e9f4e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion simulate_PBMC.sh → Run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ if [ ! -d "dataset" ]; then
tar -xzf sub_pbmc_datasets.tar.gz
fi

# Subset 10 cells from sub_pbmc_matrice for test
if [ ! -f "dataset/test_sub_pbmc_matrice.csv" ]; then
cut -d ',' -f-11 dataset/sub_pbmc_matrice.csv > dataset/test_sub_pbmc_matrice.csv
fi

# Download reference transcriptome
if [ ! -f "dataset/Homo_sapiens.GRCh38.cdna.all.fa" ]; then
wget -O - https://ftp.ensembl.org/pub/release-112/fasta/homo_sapiens/cdna/Homo_sapiens.GRCh38.cdna.all.fa.gz | gzip -d > dataset/Homo_sapiens.GRCh38.cdna.all.fa
Expand All @@ -47,4 +52,4 @@ echo "* Execute basic workflow"
nextflow run main.nf --matrix dataset/sub_pbmc_matrice.csv \
--transcriptome dataset/Homo_sapiens.GRCh38.cdna.all.fa \
--features gene_name \
--gtf dataset/GRCh38-2020-A-genes.gtf
--gtf dataset/GRCh38-2020-A-genes.gtf

0 comments on commit f5e9f4e

Please sign in to comment.