Skip to content

Conversation

@bluegenes
Copy link

@bluegenes bluegenes commented Apr 5, 2023

(in progress)

Related notes, will punt to issues upon completion:

Generally, in your sketch_genomes rule examples, you're using --name-from-first. Since you're already showing wildcards, could you use --name {wildcards.accession} instead, since it's a better way to name genome sigs? Or are you concerned about that complicating things?

This would be a handy way to show that you can access the wildcards in the shell directive, too.

Using wildcards to generalize your rules

I would bold or otherwise emphasize this sentence:

The first and most important rule of wildcards is this: snakemake fills in wildcard values based on the filename it is asked to produce.

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.

2 participants