Mercurial > repos > gandres > vcftools_filter_stats_diversity
changeset 7:4f88297ee3e9 draft
planemo upload
| author | gandres |
|---|---|
| date | Wed, 13 Apr 2016 06:57:08 -0400 |
| parents | b726ff436103 |
| children | 752c9bd14191 |
| files | VCFToolFilter/find_indiv.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/VCFToolFilter/find_indiv.py Wed Apr 13 06:54:57 2016 -0400 +++ b/VCFToolFilter/find_indiv.py Wed Apr 13 06:57:08 2016 -0400 @@ -13,7 +13,7 @@ def get_field_chrs_options(dataset): options = [] chrs=os.popen("grep '##contig' %s"%dataset.file_name).read()[:-1].split('\n') - if len(chr)>0: + if len(chrs)>0: for line in chrs: opt=re.search('^##contig=<ID=(\w+),length=',line).group(1) options.append((opt,opt, True))
