Closed alexg9010 closed 2 years ago
Please invert the if condition. When using if / else always aim to use a positive condition.
_Originally posted by @rekado in https://github.com/BIMSBbioinfo/pigx_sars-cov-2/pull/100#discussion_r844966801_
weird indentation.
_Originally posted by @rekado in https://github.com/BIMSBbioinfo/pigx_sars-cov-2/pull/100#discussion_r844967342_
shouldn't this condition be merged with the above? This would reduce unnecessary nesting.
_Originally posted by @rekado in https://github.com/BIMSBbioinfo/pigx_sars-cov-2/pull/100#discussion_r844968194_
Let's delete this instead of commenting it. It's either needed or not. Let's not clutter this already cluttered file :)
_Originally posted by @rekado in https://github.com/BIMSBbioinfo/pigx_sars-cov-2/pull/100#discussion_r844968818_
Don't use hardcoded folder names. Instead, pass the full path via the report parameters and the associated snakemake rule.
Should all be fixed in #121
Most of these are not even relevant any more, the rest is fixed. Probably all already in #131.
shouldn't we filter all_variants instead of having a one-branch if here?
_Originally posted by @rekado in https://github.com/BIMSBbioinfo/pigx_sars-cov-2/pull/100#discussion_r844967748_