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

Consistent use of primers throughout pipeline #102

Closed
martinghunt opened this issue Oct 11, 2022 · 6 comments
Closed

Consistent use of primers throughout pipeline #102

martinghunt opened this issue Oct 11, 2022 · 6 comments

Comments

@martinghunt
Copy link
Member

Expected behaviour: the amplicon scheme and the primers used are inferred early on in the pipeline. Some primers can be identified as not present in the reads. These primers should be completely excluded from everything onwards.

Actual behaviour: inconsistent use of whether primers are present or not.

See comment "The logic for identifying primers before cylon is run is different than the later primer id logic that we use to mask primer positions in the consensus." #99 (comment)

@jeff-k
Copy link
Contributor

jeff-k commented Oct 11, 2022

Identifying which primers belonging to an amplicon are observed among all fragments belonging to that amplicon is a subtly different task than identifying which primer appears in a fragment.

I agree that it would have been nice to retain the original consistent logic but the solution that we arrived at ultimately requires that these operations follow different logic.

@jeff-k jeff-k closed this as completed Oct 11, 2022
@martinghunt
Copy link
Member Author

IIRC the plan was always to remove primers in the way I just described. And be consistent throughout.

@martinghunt martinghunt reopened this Oct 11, 2022
@jeff-k
Copy link
Contributor

jeff-k commented Oct 11, 2022

There has been a large amount of discussion and planning about how we identify amplicons and which primers are observed from them and how we identify which bases belong to primers inside a given fragment. These are quite different problems.

If you would like to modify the behaviour of the amplicon coordinates that are passed to cylon during the consensus step, then let's decouple that request from the adapter issues.

@jeff-k jeff-k closed this as completed Oct 11, 2022
@iqbal-lab
Copy link
Contributor

This issue is about

  • if an alt primer is excluded from the scheme and removed before passing to cylon, it shoudl be excluded forever
    It is not about the primer-id having different implementations at the start and in selfQC

@iqbal-lab iqbal-lab reopened this Oct 11, 2022
@jeff-k
Copy link
Contributor

jeff-k commented Oct 11, 2022

Yes, that is what we do

@jeff-k jeff-k closed this as completed Oct 11, 2022
@iqbal-lab
Copy link
Contributor

yeah the point is, we excliude it when passing to cylon, but it comes back by the time we get to selfQC

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

No branches or pull requests

3 participants