-
Notifications
You must be signed in to change notification settings - Fork 13
Metadata modification and others minor updates #30
New issue
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
Open
bunop
wants to merge
21
commits into
arq5x:master
Choose a base branch
from
bunop:dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
While writing VCF metadata with the Writer class, ordering could put the vcf file format metadata after others metadata, causing warnings while dealing with VCF and breaking analises with the last BCF tools
e to explain why this merge is necessary,
The Writer class make use of csv.writer which by default uses the windows encoding line terminator while writing files. Forced to use the standard '\n' newline
I'm trying to fix tests and resolve bugs when comparing records
Checking record equality (only by positions on chromosome). Only
a test fails:
Traceback (most recent call last):
File "/home/paolo/Projects/cyvcf/test/test_vcf.py", line 767, in testApplyMultipleFilters
assert s == 0
AssertionError
This seems a problem inside pyvcf library, used only for tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Aaron,
here some minor fixes to your library:
self.metadata,self.infos,self.filters,self.formatsinReaderclass from dictionaries tocollections.OrderedDict: By usingWriterclass, those records will be placed in random order to output file. The VCF file format records (eg.##fileformat=VCFv4.1) must be the first record in a VCF file, or other VCF processing softwares will fail (bcftools) or raise warningscfriedlinein your pull request #29install_requires = ["cython"],in setup.py in order to check and installcythonwhile installing cyvcfWritermethod force thecsv.writerto use the standard linux line terminator\n, not the default windows\r\nRegards,
Paolo