Arcadia-Science / peptigate

Peptigate ("peptide" + "investigate") predicts bioactive peptides from transcriptome assemblies or sets of proteins.
MIT License
1 stars 1 forks source link

make changes so protein only input files can be used #39

Closed taylorreiter closed 6 months ago

taylorreiter commented 6 months ago

PR checklist

PR description

This PR makes a new snakefile to run peptide prediction and annotation when the user only has proteins as input. It mostly copies the snakefile to a new file (I recognize this is and that refactoring would be better) and removes all of the nucleotide-specific stuff. it also changes a few of the scripts so that they can run without nucleotide information.

i know it would be much better to re-factor this, but with our timeline I think this is ok for now -- if this becomes widely used, I think we can go back and refactor properly for this use case.

Tests to confirm behavior

I ran this code on protein-only input and got meaningful/accurate/correctly formatted results back.

Issues

note I have not opened any issues for this yet because it isn't clear to me what they should include...I can open issues tho if you think it would be useful for anything!

taylorreiter commented 6 months ago

Good call and totally reasonable! I'll do it as part of this PR, but it might be a couple days before I can get to it. Thank you for the feedback!!