Alfa qc
Added rules for generating ALFA output, for each sample separately and for all samples together. Closes #18 (closed).
Merge request reports
Activity
changed milestone to %v0.1.0 release
29 29 --printshellcmds \ 30 30 --rerun-incomplete \ 31 31 --use-singularity \ 32 --use-conda \ Since all rules rely on singularity we also need to add a container for ALFA and remove the conda dependecy. @kanitz If you have time, can you please build a container for ALFA? Otherwise I will do it later today.
Yes, please. So I can close #88 (closed)
changed this line in version 2 of the diff
- envs/env_alfa.yaml 0 → 100644
1 name: alfa changed this line in version 2 of the diff
477 "{seqmode}", 478 "{sample}", 479 "ALFA", 480 "{sample}_Signal.UniqueMultiple.out.plus.bg"), 481 minus = os.path.join( 482 config["output_dir"], 483 "{seqmode}", 484 "{sample}", 485 "ALFA", 486 "{sample}_Signal.UniqueMultiple.out.minus.bg") 487 488 params: 489 orientation = lambda wildcards: samples_table.loc[wildcards.sample, "kallisto_directionality"] 490 491 run: 492 import shutil changed this line in version 2 of the diff
mentioned in issue #88 (closed)
added Blocked label
We need to fix #88 (closed) first
added Bug label
removed Bug label
added 1 commit
- 54656531 - removed conda dependence, moved import statement.
removed Blocked label
@burri0000: Do you maybe want to rebase your branch and group some of your commits together logically? This is a huge branch and probably warrants more than a simple squash into one commit. But you will definitely not get the whole 45 either
So what I would recommend you is to locally create a new branch from this one, then do an interactive rebase (see for example here) on the master branch and merge your commits together into a couple of sensible informative commits (e.g., one for ALFA rule & wiring, one for ALFA test, dunno what else...). Then you can push that new branch (with a rewritten history basically) and file a merge request for that one instead of this.
If you create a new branch locally from the latest commit of this branch, you don't have to worry about messing anything up. All is safe here in the remote. If you mess up rewriting history, go back to this branch, no problem. ;-)
Edited by Alex KanitzIt's a good exercise. You'll find it won't be that hard. If the tutorial isn't clear, find another one, I just picked the first I found. Just search for interactive rebase
Edited by Alex Kanitz
And before you do that, two minor things:
- I think you should probably remove the following dir from version control:
tests/test_alfa/results
. Or perhaps I am missing a point here? Is there some need to keep these files? If not, it might be best might be to also simplify thecleanup ()
function in yourtests/test_alfa/test.sh
so that it saysrm -rfv results/
instead of 4 different calls to remove specific files from the results. If yes, could you please explain what you need them for? - To be consistent with other tests, it might be better to place your input files in
tests/input_files
. Perhaps other people/rules have use for them as well later on.
- I think you should probably remove the following dir from version control:
I need the
.bam
&.bam.bai
in theresults/
directory as input, because I want to test STAR RPM and ALFA alone. That is why I remove all files generated by these rules but not my input. I would therefore like to keep it that way.The
input_files
I can actually move totests/input_files
. But then I need to renameconfig.yaml
andsamples.tsv
, correct?