Skip to content

Commit

Permalink
🔧 update test bams and references files
Browse files Browse the repository at this point in the history
  • Loading branch information
juanesarango committed Jan 22, 2024
1 parent 5ddd416 commit 4e041a1
Show file tree
Hide file tree
Showing 25 changed files with 16 additions and 335,180 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
run: |
nextflow run main.nf -profile cloud \
--tumor TEST \
--tumorBam tests/data/test.bam \
--refGenome tests/data/test_reference.fasta \
--tumorBam tests/data/tumor.bam \
--refGenome tests/data/reference.fasta \
--outdir /app/results
- name: Check result
run: |
Expand Down
21 changes: 14 additions & 7 deletions tests/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,27 @@

```bash
# Build test BAM file
SAMPLE_ID=IID_H208150_T01_01_WG01
ORIGINAL_BAM=`isabl get-bams $SAMPLE_ID`
TEST_BAM=test_sample.bam
TUMOR_ID=IID_H195923_T01_01_WG01
ORIGINAL_TUMOR_BAM=`isabl get-bams $TUMOR_ID`
TEST_TUMOR_BAM=tumor.bam

NORMAL_ID=IID_H195923_N01_01_WG01
ORIGINAL_NORMAL_BAM=`isabl get-bams $NORMAL_ID`
TEST_NORMAL_BAM=normal.bam

REGION1=1:100000-200000
REGION2=2:300000-400000

samtools view -b -o $TEST_BAM $ORIGINAL_BAM $REGION1 $REGION2
samtools index $TEST_BAM
samtools view -b -o $TEST_TUMOR_BAM $ORIGINAL_TUMOR_BAM $REGION1 $REGION2
samtools view -b -o $TEST_NORMAL_BAM $ORIGINAL_NORMAL_BAM $REGION1 $REGION2

samtools index $TEST_TUMOR_BAM
samtools index $TEST_NORMAL_BAM

# Build test Reference file
ORIGINAL_REF=`isabl get-reference GRCh37`
LOCAL_REF=reference.fasta
TEST_REF=test_reference.fasta
LOCAL_REF=gr37.fasta
TEST_REF=reference.fasta

cp $ORIGINAL_REF $LOCAL_REF
cp $ORIGINAL_REF.fai $LOCAL_REF.fai
Expand Down
Binary file added tests/data/data/normal.bam
Binary file not shown.
Binary file added tests/data/data/normal.bam.bai
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added tests/data/data/tumor.bam
Binary file not shown.
Binary file added tests/data/data/tumor.bam.bai
Binary file not shown.
Binary file removed tests/data/test.bam
Binary file not shown.
Binary file removed tests/data/test.bam.bai
Binary file not shown.
1 change: 0 additions & 1 deletion tests/dataq/references/reference.access.bed

This file was deleted.

721 changes: 0 additions & 721 deletions tests/dataq/references/reference.cnn

This file was deleted.

333,335 changes: 0 additions & 333,335 deletions tests/dataq/references/reference.fasta

This file was deleted.

1 change: 0 additions & 1 deletion tests/dataq/references/reference.fasta.amb

This file was deleted.

3 changes: 0 additions & 3 deletions tests/dataq/references/reference.fasta.ann

This file was deleted.

Binary file removed tests/dataq/references/reference.fasta.bwt
Binary file not shown.
1 change: 0 additions & 1 deletion tests/dataq/references/reference.fasta.fai

This file was deleted.

Binary file removed tests/dataq/references/reference.fasta.pac
Binary file not shown.
Binary file removed tests/dataq/references/reference.fasta.sa
Binary file not shown.
Loading

0 comments on commit 4e041a1

Please sign in to comment.