Skip to content

Commit 7b49929

Browse files
authored
Merge pull request #99 from jiaan-yu/fix-bug
Fix bug
2 parents 451ebb6 + 69192a4 commit 7b49929

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

janis_bioinformatics/tools/common/filtervardictsomaticvcf.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def base_command(self):
3737

3838
def inputs(self) -> List[ToolInput]:
3939
return [
40-
ToolInput("vcf", Vcf(optional=True), position=1),
40+
ToolInput("vcf", Vcf(), position=1),
4141
ToolInput(
4242
"outputFilename",
4343
Filename(
@@ -47,12 +47,17 @@ def inputs(self) -> List[ToolInput]:
4747
),
4848
prefix="-o",
4949
position=3,
50-
shell_quote=False,
5150
),
5251
]
5352

5453
def outputs(self) -> List[ToolOutput]:
55-
return [ToolOutput("out", Vcf, glob=InputSelector("outputFilename"),)]
54+
return [
55+
ToolOutput(
56+
"out",
57+
Vcf(),
58+
InputSelector("outputFilename"),
59+
)
60+
]
5661

5762
def arguments(self):
5863
return [

janis_bioinformatics/tools/variantcallers/vardictgermline_variants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def constructor(self):
4646
var2vcfSampleName=self.sample_name,
4747
alleleFreqThreshold=self.allele_freq_threshold,
4848
var2vcfAlleleFreqThreshold=self.allele_freq_threshold,
49-
chromNamesAreNumbers=True,
5049
vcfFormat=True,
5150
chromColumn=1,
5251
regStartCol=2,

janis_bioinformatics/tools/variantcallers/vardictsomatic_variants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def constructor(self):
4949
normalName=self.normal_name,
5050
tumorName=self.tumor_name,
5151
alleleFreqThreshold=self.allele_freq_threshold,
52-
chromNamesAreNumbers=True,
5352
vcfFormat=True,
5453
chromColumn=1,
5554
regStartCol=2,

0 commit comments

Comments
 (0)