snakecharm icon indicating copy to clipboard operation
snakecharm copied to clipboard

Plugin for PyCharm / IntelliJ IDEA Platform IDEs which adds support for Snakemake language.

Results 133 snakecharm issues
Sort by recently updated
recently updated
newest added

``` rule: output: "foo/{sample}.{config[genome]}.out", ``` Here better highlight whole `config[genome]` as wildcard

good_for_next_release

- [ ] Add the ability to configure new section (e.g. via YAML file & UI in plugin settings) and specify section features: * is section value accessible after `rules.rule_name.`...

good_for_next_release

A warning that warns if some section name couldn't be used with project snakemake version (from settings), subtask of #334

inspections
subtask
good_for_next_release

Incorrect input/output properties indexation: ![issue 2](https://user-images.githubusercontent.com/55440084/124734367-b5ad2100-df1d-11eb-893f-ca7cd949fd3e.PNG) So plugin ignores list of elements and counts it as one property.

good_for_next_release

At the moment parser inserts `Py:TRIPPLE_QUOTED_STRING` instead of `Py:DOCSTRING`, see screenshot. So we get wrong highlighting. ![image](https://user-images.githubusercontent.com/72933/60875707-19bf8080-a243-11e9-94b1-5e37ce4d7ac3.png) ``` rule foo: """ doc0 """ log: "foo.log" """ doc1 """ output: touch("foo.out")...

parsing
syntaxHighlighting

Add warning which detects misspelled section names, e.g we could use Levenshtein or etc distance to predict the expected section name + quick fix, subtask of #334

inspections
subtask

Not always work, e.g on update: ``` 2021-04-24 17:12:00,837 [ 79] INFO - #com.intellij.idea.Main - JVM: 11.0.10+9-b1341.41 (Dynamic Code Evolution 64-Bit Server VM) 2021-04-24 21:13:19,074 [14478316] INFO - lij.ide.plugins.DynamicPlugins -...

Duplicated inspection errors: ![image](https://user-images.githubusercontent.com/72933/93092773-8ab0c280-f6a8-11ea-9efb-0512f9eed0a9.png) ``` rule bams_dedup_qc_bismark2report: input: alignment_report = "bams/{sample}/{rgid_genome}_PE_report.txt", nucleotide_report="bams/{sample}/{rgid_genome}_pe.nucleotide_stats.txt", dedup_report="bams/{sample}/{rgid_genome}_pe.deduplication_report.txt" output: html="qc/bams_dedup/bismark2report/{sample}/{rgid_genome}.bismark2report.html" log: "qc/bams_dedup/bismark2report/{sample}/{rgid_genome}.bismark2report.html.log" message: "QC: Deduplicated [{wildcards.sample}] bismark2report HTML report for {wildcards.rgid_genome}" params: skip_optional_reports=True wrapper: "0.46.0/bio/bismark/bismark2report"...

bug
good_for_next_release

![image](https://user-images.githubusercontent.com/72933/91735970-b49cbc00-ebb5-11ea-889b-ec6410b341c5.png) See https://snakemake-wrappers.readthedocs.io/en/0.64.0/wrappers/bismark/bam2nuc.html ``` bam = snakemake.input.get("bam", None) if bam: cmdline_args.append("{bam}") ... else: cmdline_args.append("--genomic_composition_only") ```

good_for_next_release

E.g. * warn that functions / lambdas cannot be used * somehow consider it in autocompletion of `rules.` Usage example: ``` rule all: input: txt = 'out2.txt' some_var: str =...