discussion and development of Emacs Snakemake mode
 help / color / mirror / code / Atom feed
* What is the snakemake popup actions supposed to do/how are they supposed to work? (#11)
@ 2016-04-18  6:36 Endre Bakken Stovner
  2016-04-18 17:53 ` Endre Bakken Stovner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Endre Bakken Stovner @ 2016-04-18  6:36 UTC (permalink / raw)
  To: kyleam/snakemake-mode

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

Whenever I am in a snakefile and try one of the actions I get "no snakefile found for <dirname>`.

I do not really want to run the workflows within emacs, so this does not bother me but I suspect it is undesired behavior.

My file is called `"/Users/labsenter/havpryd/code/programmable_epigenetics/snakefiles/csaw/graph_filter_parameters.snakefile"` if that might matter.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/11

[-- Attachment #2: Type: text/html, Size: 1167 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is the snakemake popup actions supposed to do/how are they supposed to work? (#11)
  2016-04-18  6:36 What is the snakemake popup actions supposed to do/how are they supposed to work? (#11) Endre Bakken Stovner
@ 2016-04-18 17:53 ` Endre Bakken Stovner
  2016-04-18 18:09 ` Endre Bakken Stovner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Endre Bakken Stovner @ 2016-04-18 17:53 UTC (permalink / raw)
  To: kyleam/snakemake-mode; +Cc: Kyle Meyer

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

I have folders upon folders of snakefiles for each of my projects. 

I am usually in the base folder of my current project calling snakefiles in subfolders.

Example of my last invocation:

`endrebak@havpryd ~/c/programmable_epigenetics> snakemake --snakefile snakefiles/csaw/graph_filter_parameters.snakefile -j 4`.

Will read the docs of the functions you mentioned.

---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/11#issuecomment-211501029

[-- Attachment #2: Type: text/html, Size: 1216 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is the snakemake popup actions supposed to do/how are they supposed to work? (#11)
  2016-04-18  6:36 What is the snakemake popup actions supposed to do/how are they supposed to work? (#11) Endre Bakken Stovner
  2016-04-18 17:53 ` Endre Bakken Stovner
@ 2016-04-18 18:09 ` Endre Bakken Stovner
  2016-04-19  4:19 ` Endre Bakken Stovner
  2020-04-17  0:05 ` Kyle Meyer
  3 siblings, 0 replies; 5+ messages in thread
From: Endre Bakken Stovner @ 2016-04-18 18:09 UTC (permalink / raw)
  To: kyleam/snakemake-mode; +Cc: Kyle Meyer

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

It seems your function only finds files called `Snakefile`, right? So no matter what I set the dir functions to it would not work in my case.

My original graph functions just took the absolute path of the file visited by the buffer, which is what I would want in 100% of cases. Perhaps you (or I) could add some similar capability with an interactive function (`snakemake-create-dag(/rulegraph)-for-this-file`)?

---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/11#issuecomment-211507107

[-- Attachment #2: Type: text/html, Size: 1247 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is the snakemake popup actions supposed to do/how are they supposed to work? (#11)
  2016-04-18  6:36 What is the snakemake popup actions supposed to do/how are they supposed to work? (#11) Endre Bakken Stovner
  2016-04-18 17:53 ` Endre Bakken Stovner
  2016-04-18 18:09 ` Endre Bakken Stovner
@ 2016-04-19  4:19 ` Endre Bakken Stovner
  2020-04-17  0:05 ` Kyle Meyer
  3 siblings, 0 replies; 5+ messages in thread
From: Endre Bakken Stovner @ 2016-04-19  4:19 UTC (permalink / raw)
  To: kyleam/snakemake-mode; +Cc: Kyle Meyer

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

I am working on my PhD which requires plenty of different analyses. I collect the related analyses into different snakefiles in the same folders. My main reason for not having them in the same file is to keep the files small and easier to edit, understand and reason about. 

Perhaps your setup would work if I created new folders for each snakefile, so that `a/b.snakefile` becomes `a/b/Snakefile`.

I guess you could ping https://github.com/johanneskoester and ask about his opinion.

---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/11#issuecomment-211723035

[-- Attachment #2: Type: text/html, Size: 1376 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is the snakemake popup actions supposed to do/how are they supposed to work? (#11)
  2016-04-18  6:36 What is the snakemake popup actions supposed to do/how are they supposed to work? (#11) Endre Bakken Stovner
                   ` (2 preceding siblings ...)
  2016-04-19  4:19 ` Endre Bakken Stovner
@ 2020-04-17  0:05 ` Kyle Meyer
  3 siblings, 0 replies; 5+ messages in thread
From: Kyle Meyer @ 2020-04-17  0:05 UTC (permalink / raw)
  To: snakemake-mode

Some replies are missing, as described at

  https://inbox.kyleam.com/snakemake-mode/874ktmyh4u.fsf@kyleam.com/

Please visit the link in the parent message to see the full discussion.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-17  0:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18  6:36 What is the snakemake popup actions supposed to do/how are they supposed to work? (#11) Endre Bakken Stovner
2016-04-18 17:53 ` Endre Bakken Stovner
2016-04-18 18:09 ` Endre Bakken Stovner
2016-04-19  4:19 ` Endre Bakken Stovner
2020-04-17  0:05 ` Kyle Meyer

Code repositories for project(s) associated with this public inbox

	https://git.kyleam.com/snakemake-mode/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).