Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

[WIP] CNVkit tool definitions #93

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions test/cnvkit-batch-job.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"bam-files": [
"test-files/Test1-ready.bam"
],
"normal":["test-files/s5DE199B-D6AF-C6EC-678A-DEC1179D1B97.fastq",
],
"targets": "test-files/InfiniumPsychArray-24v1-1_A1.bed",
"split": true,
"annotate": "test-files/cnvkit-batch/refFlat.txt",
"fasta": "test-files/cnvkit-batch/ERCC92.fa",
"access": "test-files/InfiniumPsychArray-24v1-1_A1.bed",
"output-dir": "test-files/cnvkit-batch/",
"diagram": true,
"scatter": true
}
18 changes: 18 additions & 0 deletions test/cnvkit-batch-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- args: [
"cvnkit.py",
"batch",
"*Tumor.bam",
"--normal", "*Normal.bam",
"--targets", "my_baits.bed",
"--split",
"--annotate", "refFlat.txt",
"--fasta", "hg19.fasta",
"--access", "data/access-5kb-mappable.hg19.bed",
"--output-reference", "my_reference.cnn",
"--output-dir", "results/",
"--diagram", "--scatter"
]
stdout: "test-files/my_reference.cnn"
job: cnvkit-batch-job.json
tool: ../tools/cnvkit-batch.cwl
doc: General test of command line generation
8 changes: 8 additions & 0 deletions test/test-files/cnvkit-batch/draft.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
command from cnvkit batch tutorial (https://cnvkit.readthedocs.io/en/v0.7.11/pipeline.html#batch) I'm trying to run


cnvkit.py batch *Tumor.bam --normal *Normal.bam \
--targets my_baits.bed --split --annotate refFlat.txt \
--fasta hg19.fasta --access data/access-5kb-mappable.hg19.bed \
--output-reference my_reference.cnn --output-dir results/ \
--diagram --scatter
Loading