rsemeraro / XomeBlender

Generates synthetic cancer genomes with different contamination level and intra-tumor heterogeneity and devoid of any synthetic element
GNU General Public License v3.0
10 stars 2 forks source link

refcheck function needs to be updated #3

Closed ofonov closed 3 years ago

ofonov commented 4 years ago

refcheck() needs to be updated. It returns error for current versions of samtools 1.10 and bcftools 1.10.2

def refcheck(): for r in ['samtools', 'bcftools']: tv = float(check_output([r, '--version']).split()[1]) if tv < 1.6: log.error('The version of %s must be 1.6 or above.' % r)

rsemeraro commented 4 years ago

Hi, Thanks for the suggestion I’m working on a new xome blender distribution and this problem is fixed. It will work also on python3 based systems. Stay tuned!

ofonov commented 4 years ago

Great! Thank you for keeping the tool updated!

rsemeraro commented 3 years ago

Hi, i fixed the problem and released a new version of Xome Blender. Look for branch 3.1. The new version is for python3.