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

PeptideDecoder #395

Closed
DawnJYe opened this issue Oct 28, 2024 · 5 comments
Closed

PeptideDecoder #395

DawnJYe opened this issue Oct 28, 2024 · 5 comments
Labels
question Further information is requested

Comments

@DawnJYe
Copy link

DawnJYe commented Oct 28, 2024

Hi! Where is the code of "PeptideDecoder"? I failed to find it in depthcharge.

@DawnJYe DawnJYe added the bug Something isn't working label Oct 28, 2024
@bittremieux
Copy link
Collaborator

Casanovo is currently still using an older version of DepthCharge which we are in the process of updating (#350). The PeptideDecoder is available in DepthCharge v0.2.x here.

@bittremieux bittremieux added question Further information is requested and removed bug Something isn't working labels Oct 28, 2024
@DawnJYe
Copy link
Author

DawnJYe commented Oct 28, 2024

Casanovo is currently still using an older version of DepthCharge which we are in the process of updating (#350). The PeptideDecoder is available in DepthCharge v0.2.x here.

OK,thanks. And what is "precursors" referenced in Decoder?

@bittremieux
Copy link
Collaborator

You mean in the forward function? Precisely as described in the docstring:

precursors : torch.Tensor of size (batch_size, 2)
The measured precursor mass (axis 0) and charge (axis 1) of each tandem mass spectrum

@DawnJYe
Copy link
Author

DawnJYe commented Oct 28, 2024

You mean in the forward function? Precisely as described in the docstring:

precursors : torch.Tensor of size (batch_size, 2)
The measured precursor mass (axis 0) and charge (axis 1) of each tandem mass spectrum

I can't understand what is "precursors" stands for.

@bittremieux
Copy link
Collaborator

The information from the MS1 scan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants