Skip to content

Commit 929381c

Browse files
Michele BerselliMichele Berselli
authored andcommitted
version upd
1 parent b9e5279 commit 929381c

8 files changed

Lines changed: 12 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For more details, see granite [*documentation*](https://granite-suite.readthedoc
1111
## Availability and requirements
1212
A ready-to-use docker image is available to download.
1313

14-
docker pull b3rse/granite:v0.1.12
14+
docker pull b3rse/granite:v0.1.13
1515

1616
To run locally, install the following libraries:
1717

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Michele Berselli'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.1.12'
25+
release = '0.1.13'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A ready-to-use docker image is available to download.
44

5-
docker pull b3rse/granite:v0.1.12
5+
docker pull b3rse/granite:v0.1.13
66

77
To run locally, Python 3.6+ is required together with the following libraries:
88

granite/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Version information."""
22

33
# The following line *must* be the last in the module, exactly as formatted:
4-
__version__ = "0.1.12"
4+
__version__ = "0.1.13"

granite/lib/shared_functions.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ def variant_type_sv(vnt_obj):
271271
SVTYPE = vnt_obj.get_tag_value("SVTYPE")
272272
except Exception:
273273
raise ValueError('\nERROR in parsing vcf, variant at position {0} does not contain SVTYPE in INFO\n'
274-
.format(vnt_obj.CHROM+":"+str(vnt_obj.POS)))
274+
.format(vnt_obj.CHROM + ":" + str(vnt_obj.POS)))
275+
#end try
275276
if SVTYPE == 'DEL':
276277
return 'del'
277278
elif SVTYPE == 'DUP':
@@ -286,7 +287,9 @@ def variant_type_sv(vnt_obj):
286287
return 'cnv'
287288
else:
288289
raise ValueError('\nERROR in parsing vcf, variant at position {0} contains unexpected SVTYPE "{1}" in INFO\n'
289-
.format(vnt_obj.CHROM+":"+str(vnt_obj.POS),SVTYPE))
290+
.format(vnt_obj.CHROM + ":" + str(vnt_obj.POS), SVTYPE))
291+
#end if
292+
#end def
290293

291294
def allele_frequency(vnt_obj, aftag, idx=0):
292295
''' return allele frequency for variant from aftag in INFO,

tests/files/SVqcVCF_oneSample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"DUP": 1
88
}
99
]
10-
}
10+
}

tests/files/SVqcVCF_twoSamples.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
"DUP": 2
1414
}
1515
]
16-
}
16+
}

tests/files/variant_type_sv_fail1.vcf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
##reference=GCF_000001405.26
44
#CHROM POS ID REF ALT QUAL FILTER INFO
55
1 46000 . T <CNV> . . DBVARID;SVTYPE=CNV;END=111250
6-
1 46000 . T <CNV> . . DBVARID;END=111250
6+
1 46000 . T <CNV> . . DBVARID;END=111250

0 commit comments

Comments
 (0)