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

Integrate read end clipping in to allelecounter #60

Open
wants to merge 29 commits into
base: dev
Choose a base branch
from

Conversation

danchubb
Copy link

alleleCount-FixVAF is a fork which includes a "-e n" parameter which ignores all sites within n bases of the end of the read.

This is to correct an issue with reference bias in the illumina Isaac aligner described in https://www.biorxiv.org/search/chubb%252Bcornish

The default -e is 5. Might be worth changing it to 0 if it was to be rolled in to the main allelecounter.

make sure that qpos and length are what they think. If they are position on read and length of read, next step is to skip if position <=n or >= length -n
		printf("Read posis %d\n" , p->qpos);
		printf("Read posis %d\n" , p->alignment->query->length);
add end clip option
simplified to just skip the whole step if the variant is in the final or first 5 bases.
Added comment pointing out default setting. We use 5 for the illumina data but if it was to be used optionally, setting it to 0 would make more sense.
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.

1 participant