Skip to content

Variant collection filtering#19

Merged
iskandr merged 4 commits intomasterfrom
variant_collection_filtering
Feb 19, 2015
Merged

Variant collection filtering#19
iskandr merged 4 commits intomasterfrom
variant_collection_filtering

Conversation

@iskandr
Copy link
Copy Markdown
Contributor

@iskandr iskandr commented Feb 19, 2015

  • split file loading from constructing VariantCollection objects (use load_variants function instead)
  • added clone method to VariantCollection to simplify adding other filter methods
  • moved drop_duplicates from a file loading argument to be a method on VariantCollection
  • added test for drop_duplicates

@iskandr iskandr force-pushed the variant_collection_filtering branch from 0f451c7 to 4a49b26 Compare February 19, 2015 18:36
… drop_duplicates to be a method on Variant Collection
Comment thread varcode/maf.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added an assert that the expected length matches the given one in the MAF file.

@tavinathanson
Copy link
Copy Markdown
Contributor

What pyensembl dependency changed?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No __hash__ for Variant?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I thought there already was one! I guess I forgot to add it when I adding __hash__ and __eq__ to all the PyEnsembl objects.

@tavinathanson
Copy link
Copy Markdown
Contributor

Looks good to me aside from comments

iskandr added a commit that referenced this pull request Feb 19, 2015
@iskandr iskandr merged commit 04d351d into master Feb 19, 2015
@iskandr iskandr deleted the variant_collection_filtering branch February 19, 2015 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants