I am working on variant calling. My goal is to get the chromosome positions from vcf file and coverage on positive and negative strands. I am using pysam and pyvcf modules in python. While executing the python script it throws error
TypeError: argument of type 'int' is not iterable.
I understand what it means. How can I overcome this error?
I need suggestions to succeed in dealing with this problem?
import vcf, glob, pysam, csv from os.path import basename