Skip to content
Snippets Groups Projects

Alfa qc

Closed Dominik Burri requested to merge alfa_qc into master
5 unresolved threads

Added rules for generating ALFA output, for each sample separately and for all samples together. Closes #18 (closed).

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
29 29 --printshellcmds \
30 30 --rerun-incomplete \
31 31 --use-singularity \
32 --use-conda \
  • 1 name: alfa
  • 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
  • mentioned in issue #88 (closed)

  • We need to fix #88 (closed) first

  • added Bug label

  • removed Bug label

  • Dominik Burri added 1 commit

    added 1 commit

    • 54656531 - removed conda dependence, moved import statement.

    Compare with previous version

  • 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 :laughing:

      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 Kanitz
    • Author Maintainer

      I will try to do this, but I never did this before. So I will go through the example and create a local branch as you described.

    • It'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
    • Author Maintainer

      I managed to do it. I basically skipped all commits previous of the STAR RPM integration and then squashed some commits together. The new branch is called alfa

    • Please register or sign in to reply
    • 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 the cleanup () function in your tests/test_alfa/test.sh so that it says rm -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.
    • Author Maintainer

      I need the .bam & .bam.bai in the results/ 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 to tests/input_files. But then I need to rename config.yaml and samples.tsv, correct?

    • Okay, got it. Forget about the results then. As for the input files that would probably be good, yes. And yes, you'd need to change the paths in these files, but should be easy enough

    • Please register or sign in to reply
  • Btw, this looks really nice. Hell of a job! :)

  • closed

  • Please register or sign in to reply
    Loading