Commits

Davide Cittaro  committed 6271313

comments

  • Participants
  • Parent commits 85285da

Comments (0)

Files changed (1)

       try:
         allele_depth = sample['AD']
       except AttributeError:
+        # maybe check that other allele depth fields are available, freebayes does not report AD
         allele_depth = ','.join(['0'] * genotype.count('.'))
       if not allele_depth:
         allele_depth = ','.join(['0'] * genotype.count('.'))