|
1 | 1 | #!/bin/bash |
2 | 2 |
|
3 | 3 |
|
4 | | -source tests/assert.sh |
5 | | -output_folder=output/test11 |
6 | | -echo -e "tumor_normal\tprimary:"`pwd`"/test_data/TESTX_S1_L001.bam" > test_data/test_bams.txt |
7 | | -echo -e "tumor_normal\tnormal:"`pwd`"/test_data/TESTX_S1_L002.bam" >> test_data/test_bams.txt |
8 | | -echo -e "single_sample\ttumor:"`pwd`"/test_data/TESTX_S1_L001.bam" >> test_data/test_bams.txt |
9 | | -echo -e "single_sample\ttumor:"`pwd`"/test_data/TESTX_S1_L002.bam" >> test_data/test_bams.txt |
10 | | -echo -e "single_sample\tnormal:"`pwd`"/test_data/TESTX_S1_L001.bam" >> test_data/test_bams.txt |
11 | | -echo -e "single_sample\tnormal:"`pwd`"/test_data/TESTX_S1_L002.bam" >> test_data/test_bams.txt |
12 | | -nextflow main.nf -profile test,conda --output $output_folder --input_bams test_data/test_bams.txt --phasing_sample normal |
13 | | -test -s $output_folder/single_sample/single_sample.filtered_multiallelics.vcf || { echo "Missing test 10 output file!"; exit 1; } |
14 | | -test -s $output_folder/tumor_normal/tumor_normal.filtered_multiallelics.vcf || { echo "Missing test 10 output file!"; exit 1; } |
15 | | -test -s $output_folder/single_sample/single_sample.vaf.vcf || { echo "Missing test 10 output file!"; exit 1; } |
| 4 | +source test/scripts/assert.sh |
| 5 | +output_folder=test/output/test14 |
| 6 | +echo -e "tumor_normal\tprimary:"`pwd`"/test/data/TESTX_S1_L001.bam" > test/data/test_bams.txt |
| 7 | +echo -e "tumor_normal\tnormal:"`pwd`"/test/data/TESTX_S1_L002.bam" >> test/data/test_bams.txt |
| 8 | +echo -e "single_sample\ttumor:"`pwd`"/test/data/TESTX_S1_L001.bam" >> test/data/test_bams.txt |
| 9 | +echo -e "single_sample\ttumor:"`pwd`"/test/data/TESTX_S1_L002.bam" >> test/data/test_bams.txt |
| 10 | +echo -e "single_sample\tnormal:"`pwd`"/test/data/TESTX_S1_L001.bam" >> test/data/test_bams.txt |
| 11 | +echo -e "single_sample\tnormal:"`pwd`"/test/data/TESTX_S1_L002.bam" >> test/data/test_bams.txt |
| 12 | + |
| 13 | +nextflow main.nf -profile test,conda --output $output_folder --input_bams test/data/test_bams.txt \ |
| 14 | + --phasing_sample normal --input_vcfs test/data/test_input_single_sample.txt |
| 15 | + |
16 | 16 | test -s $output_folder/single_sample/single_sample.phased.vcf || { echo "Missing test 10 output file!"; exit 1; } |
17 | | -test -s $output_folder/tumor_normal/tumor_normal.vaf.vcf || { echo "Missing test 10 output file!"; exit 1; } |
18 | | -test -s $output_folder/tumor_normal/tumor_normal.phased.vcf || { echo "Missing test 10 output file!"; exit 1; } |
0 commit comments