Skip to content

Commit

Permalink
Move test data to git submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Oct 11, 2017
1 parent e2dbe37 commit 73b1121
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 28,951 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ scripts/.snakemake*
!.gitignore
!.editorconfig
!.gitattributes
!.test
!.test/data
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule ".test/data"]
path = .test/data
url = https://github.com/snakemake-workflows/ngs-test-data.git
4 changes: 2 additions & 2 deletions .test/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ adapter: ACGGATCGATCGATCGATCGAT

ref:
# the STAR index
index: "ref/index"
index: "data/ref/index"
# gtf file with transcripts
annotation: "ref/Homo_sapiens.GRCh38.90.chr21.gtf"
annotation: "data/ref/Homo_sapiens.GRCh38.90.chr21.gtf"

pca:
labels:
Expand Down
1 change: 1 addition & 0 deletions .test/data
Submodule data added at 77ede0
4 changes: 0 additions & 4 deletions .test/reads/a.1.fastq

This file was deleted.

4 changes: 0 additions & 4 deletions .test/reads/a.2.fastq

This file was deleted.

4 changes: 0 additions & 4 deletions .test/reads/b.1.fastq

This file was deleted.

4 changes: 0 additions & 4 deletions .test/reads/b.2.fastq

This file was deleted.

28,928 changes: 0 additions & 28,928 deletions .test/ref/Homo_sapiens.GRCh38.90.chr21.gtf

This file was deleted.

Binary file not shown.
4 changes: 2 additions & 2 deletions .test/samples.tsv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sample condition fq1 fq2
A treated reads/a.1.fastq reads/a.2.fastq
B untreated reads/b.1.fastq reads/b.2.fastq
A treated data/reads/a.chrMT.1.fastq data/reads/a.chrMT.2.fastq
B untreated data/reads/b.chrMT.1.fastq data/reads/b.chrMT.2.fastq
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ install:
- conda create -q -n star star
- source activate star
# create STAR index (too big to live in git)
- mkdir .test/ref/index
- gzip -d .test/ref/Homo_sapiens.GRCh38.dna.chromosome.21.fa.gz
- STAR --runMode genomeGenerate --genomeDir .test/ref/index --genomeFastaFiles .test/ref/Homo_sapiens.GRCh38.dna.chromosome.21.fa
- mkdir .test/data/ref/index
- STAR --runMode genomeGenerate --genomeDir .test/data/ref/index --genomeFastaFiles .test/data/ref/genome.chrMT.fa

script:
- source activate snakemake
Expand Down

0 comments on commit 73b1121

Please sign in to comment.