Skip to content

Conversation

@chrisAta
Copy link
Member

Thes two will be used with the owltools module from #71 to make a GO-slim generation subworkflow after this PR

@chrisAta chrisAta self-assigned this Jan 27, 2025
Copy link
Contributor

@KateSakharova KateSakharova left a comment

Choose a reason for hiding this comment

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

Looks good!
I just left questions about understanding.

@@ -0,0 +1,52 @@

process SUMMARISEGOSLIMS {
Copy link
Contributor

Choose a reason for hiding this comment

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

should it be summarisEDgoslims or summariZegoslims? (my english is far from ideal, ignore me if I'm saying rubbish)

Copy link
Member Author

Choose a reason for hiding this comment

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

summarise is british and summarize american, so both are correct 😄

@@ -0,0 +1,44 @@

process GENERATEGAF {
Copy link
Contributor

Choose a reason for hiding this comment

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

is it allowed to use _ in names in nf-core standards? I think better separate words for understanding..

Copy link
Member Author

Choose a reason for hiding this comment

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

not allowed unfortunately, nf-core modules create yells at you if you try to include _ in module names

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json
name: "generategaf"
description: Script that generates a GO Annotation File (GAF) out of an InterProScan result tsv file.
Copy link
Contributor

Choose a reason for hiding this comment

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

GAF is official name? should it be GOAF? (I think inclusion of GO brings more understanding)

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@mberacochea mberacochea left a comment

Choose a reason for hiding this comment

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

Hey, thanks @chrisAta . I left a couple of minor comments, other than that it looks good to me

@@ -0,0 +1,200 @@
protein_accession sequence_md5_digest sequence_length analysis signature_accession signature_description start_location stop_location score status date accession description go pathways_annotations
ERZ477576.7-NODE-7-length-64890-cov-13.9479_16 9a765c7e2dcc1fd002ad18ce661605dc 525 TIGRFAM TIGR01972 NDH_I_M: proton-translocating NADH-quinone oxidoreductase, chain M 13 520 1.1E-160 T 29-10-2019 IPR010227 NADH-quinone oxidoreductase, chain M/4 GO:0008137|GO:0042773|GO:0055114 Reactome: R-HSA-611105|Reactome: R-HSA-6799198
Copy link
Member

Choose a reason for hiding this comment

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

Can you use the gaf module tests files?

Copy link
Member Author

Choose a reason for hiding this comment

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

done!

@chrisAta chrisAta requested a review from mberacochea January 27, 2025 16:14
Copy link
Member

@mberacochea mberacochea left a comment

Choose a reason for hiding this comment

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

Thanks @chrisAta! :shipit:

@chrisAta chrisAta merged commit ed0ac8b into main Jan 27, 2025
8 checks passed
@chrisAta chrisAta deleted the add_goslim_modules branch January 27, 2025 16:36
@chrisAta chrisAta mentioned this pull request Jan 27, 2025
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.

4 participants