We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to add self defined Filter into my vcf column (such as LowQual etc)
## read a vcf vcf_reader= vcfpy.Reader.from_path(vcfInput) ## add Filter-Header ## vcf output vcf_writer= vcfpy.Writer.from_path(newOutput+'/'+ name+'.filtered.vcf',vcf_reader.header) ## add filter in each variant e.g if QUAL < 30: filter= "LowQual" ## write variant in vcf output vcf_writer.write_record(record)
Solution: maybe instead of:
",".join(...)
use ','.join(...)
','.join(...)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I want to add self defined Filter into my vcf column (such as LowQual etc)
What I Did
Solution:
maybe instead of:
",".join(...)
use
','.join(...)
The text was updated successfully, but these errors were encountered: