Skip to content
Snippets Groups Projects
Commit fbd1bc81 authored by Wai Yi Leung's avatar Wai Yi Leung
Browse files

by default report the SVtype in the ALT field

parent 9ae3e5c2
No related branches found
No related tags found
No related merge requests found
...@@ -157,7 +157,7 @@ def _format_vcffile(dictreader, vcffile, samplename): ...@@ -157,7 +157,7 @@ def _format_vcffile(dictreader, vcffile, samplename):
CHROM = line['Chr1'] CHROM = line['Chr1']
# TODO Figure out whether we have zero or one based positioning # TODO Figure out whether we have zero or one based positioning
POS = int(line['Pos1']) POS = int(line['Pos1'])
ALT = '.' ALT = '<{}>'.format(line['Type'])
SVEND = int(line['Pos2']) SVEND = int(line['Pos2'])
INFO = 'SVMETHOD=breakdancer;SVTYPE={}'.format(line['Type']) INFO = 'SVMETHOD=breakdancer;SVTYPE={}'.format(line['Type'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment