Skip to content
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

script for filtering swapped sites. #2

Merged
merged 4 commits into from
Mar 12, 2019
Merged

script for filtering swapped sites. #2

merged 4 commits into from
Mar 12, 2019

Conversation

yfarjoun
Copy link
Contributor

No description provided.

Copy link
Contributor

@gbggrant gbggrant left a comment

Choose a reason for hiding this comment

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

👍

echo "indexing vcf"
$GATK IndexFeatureFile -F $VCF 2> index.vcf.log || (cat index.vcf.log && exit 1)

echo "grabbing dictionary from interval list"
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe there's a tool for this? Didn't realize it was as simple as that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there's no tool since this is a bad usecase...we should be able to use interval_lists as masks in GATK...but they need a tribble codec broadinstitute/gatk#5788

Copy link
Contributor Author

Choose a reason for hiding this comment

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

once we go to bed, we are not sure that the dictionaries match...so I had to extract it by hand...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually...it doesn't do what I want...:-(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh well.

@yfarjoun yfarjoun merged commit d9ec006 into master Mar 12, 2019
@yfarjoun yfarjoun deleted the yf_filter_script branch March 12, 2019 22:49
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