fix the script!
This commit is contained in:
parent
810996cfca
commit
87a63d54d6
|
|
@ -63,10 +63,10 @@ class VcfToPed extends QScript {
|
||||||
toPed.dbsnp = dbsnp
|
toPed.dbsnp = dbsnp
|
||||||
toPed.variant = variants
|
toPed.variant = variants
|
||||||
toPed.metaData = meta
|
toPed.metaData = meta
|
||||||
lazy val base : String = bed.getName.stripSuffix(".bed")+"_%".format(chunk)
|
val base : String = bed.getName.stripSuffix(".bed")+"_%d".format(chunk)
|
||||||
lazy val tBed = new File(tmpdir,base+".bed")
|
val tBed = new File(tmpdir,base+".bed")
|
||||||
lazy val bim = new File(tmpdir,base+".bim")
|
val bim = new File(tmpdir,base+".bim")
|
||||||
lazy val fam = new File(tmpdir,base+".fam")
|
val fam = new File(tmpdir,base+".fam")
|
||||||
toPed.bed = tBed
|
toPed.bed = tBed
|
||||||
toPed.bim = bim
|
toPed.bim = bim
|
||||||
toPed.fam = fam
|
toPed.fam = fam
|
||||||
|
|
@ -89,10 +89,10 @@ class VcfToPed extends QScript {
|
||||||
toPed.dbsnp = dbsnp
|
toPed.dbsnp = dbsnp
|
||||||
toPed.variant = variants
|
toPed.variant = variants
|
||||||
toPed.metaData = meta
|
toPed.metaData = meta
|
||||||
lazy val base : String = bed.getName.stripSuffix(".bed")+"_%".format(chunk)
|
val base : String = bed.getName.stripSuffix(".bed")+"_%d".format(chunk)
|
||||||
lazy val tBed = new File(tmpdir,base+".bed")
|
val tBed = new File(tmpdir,base+".bed")
|
||||||
lazy val bim = new File(tmpdir,base+".bim")
|
val bim = new File(tmpdir,base+".bim")
|
||||||
lazy val fam = new File(tmpdir,base+".fam")
|
val fam = new File(tmpdir,base+".fam")
|
||||||
toPed.bed = tBed
|
toPed.bed = tBed
|
||||||
toPed.bim = bim
|
toPed.bim = bim
|
||||||
toPed.fam = fam
|
toPed.fam = fam
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue