You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/shared/teams/hpc-wasslab/updated_pipeline/variant_filtering/createDatabaseFiles.py", line 42, in createDatabaseFiles
headersAnn = ["ANN_ID"] + vcfReader.info['CSQ'].desc.split()[-1].split("|") + ["VAR_ID"]
AttributeError: 'MyReader' object has no attribute 'info'
The text was updated successfully, but these errors were encountered:
Hi
I have a code which is being called by another main code when I try to run it gives the error, following are the details
def createDatabaseFiles(vcfFile, varFile, annFile, freq = None, cosmicMutations = None, cosmicThreshold = None,
tcgaMutations = None, tcgaThreshold = None, dstFile = None, outputDir = None):
vcfReader = MyReader(open(vcfFile, "r"))
headersVar = ["VAR_ID", "CHROM", "POS", "REF", "ALT", "QUAL", "FILTER", "DP", "DP4", "INDEL"] + vcfReader.samples
headersAnn = ["ANN_ID"] + vcfReader.info['CSQ'].desc.split()[-1].split("|") + ["VAR_ID"]
Traceback (most recent call last):
File "/shared/teams/hpc-wasslab/updated_pipeline/variant_filtering/createDatabaseFiles.py", line 42, in createDatabaseFiles
headersAnn = ["ANN_ID"] + vcfReader.info['CSQ'].desc.split()[-1].split("|") + ["VAR_ID"]
AttributeError: 'MyReader' object has no attribute 'info'
The text was updated successfully, but these errors were encountered: