Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-create existing pipeline level tests in nf-test format #1195

Closed
adamrtalbot opened this issue Jan 16, 2024 · 3 comments
Closed

Re-create existing pipeline level tests in nf-test format #1195

adamrtalbot opened this issue Jan 16, 2024 · 3 comments
Milestone

Comments

@adamrtalbot
Copy link
Contributor

Description of feature

The current CI includes many different parameters

  • matrix:
    parameters:
    - "--skip_qc"
    - "--skip_trimming"
    - "--gtf false"
    - "--star_index false"
    - "--transcript_fasta false"
    - "--min_mapped_reads 90"
    - "--with_umi"
    - "--with_umi --skip_trimming"
    - "--remove_ribo_rna --skip_qualimap"
    - "--bam_csi_index"
    - "--save_align_intermeds --save_reference"
    - "--featurecounts_group_type false"
    - "--trimmer fastp"
  • matrix:
    parameters:
    - "--skip_qc"
    - "--rsem_index false"
  • matrix:
    parameters:
    - "--skip_qc"
    - "--hisat2_index false"
  • matrix:
    parameters:
    - "--pseudo_aligner salmon --skip_qc"
    - "--pseudo_aligner salmon --skip_alignment --skip_pseudo_alignment"
    - "--pseudo_aligner salmon --salmon_index false --transcript_fasta false"
    - "--pseudo_aligner kallisto --skip_qc"
    - "--pseudo_aligner kallisto --skip_alignment --skip_pseudo_alignment"
    - "--pseudo_aligner kallisto --kallisto_index false --transcript_fasta false"

We should re-create these in nf-test format.

Use this as a chance to review them and decide when, where and how they should be executed. We can use tags and criteria to filter which tests exist. Ideally, we recreate all tests in nf-test format with additional checks for correct outputs etc.

  • "--skip_qc"
  • "--skip_trimming"
  • "--gtf false"
  • "--star_index false"
  • "--transcript_fasta false"
  • "--min_mapped_reads 90"
  • "--with_umi"
  • "--with_umi --skip_trimming"
  • "--remove_ribo_rna --skip_qualimap"
  • "--bam_csi_index"
  • "--save_align_intermeds --save_reference"
  • "--featurecounts_group_type false"
  • "--trimmer fastp"
  • "--pseudo_aligner salmon --skip_qc"
  • "--pseudo_aligner salmon --skip_alignment --skip_pseudo_alignment"
  • "--pseudo_aligner salmon --salmon_index false --transcript_fasta false"
  • "--pseudo_aligner kallisto --skip_qc"
  • "--pseudo_aligner kallisto --skip_alignment --skip_pseudo_alignment"
  • "--pseudo_aligner kallisto --kallisto_index false --transcript_fasta false"
  • "--skip_qc" (STAR-RSEM)
  • "--rsem_index false" (STAR-RSEM)
  • "--skip_qc" (HISAT2)
  • "--rsem_index false" (HISAT2)
@adamrtalbot adamrtalbot added this to the nf-test milestone Jan 16, 2024
@adamrtalbot
Copy link
Contributor Author

This follows on from #1194 and #1184. Once they are complete we should see if all these tests are still required.

@adamrtalbot
Copy link
Contributor Author

Summary of existing tests (by eye):

Skip steps

--skip_qc
--skip_trimming

Run without reference genomes

--gtf false
--star_index false
--transcript_fasta false
--rsem_index false (STAR-RSEM)
--rsem_index false (HISAT2)

Alternative/additional methods

--trimmer fastp
--with_umi
--remove_ribo_rna
--pseudo_aligner salmon
--pseudo_aligner salmon --skip_alignment --skip_pseudo_alignment
--pseudo_aligner salmon --salmon_index false --transcript_fasta false
--pseudo_aligner kallisto --skip_qc
--pseudo_aligner kallisto --skip_alignment --skip_pseudo_alignment
--pseudo_aligner kallisto --kallisto_index false --transcript_fasta false

Save intermediate files

--save_align_intermeds --save_reference
--bam_csi_index

Alternative parameter value

--min_mapped_reads 90
--featurecounts_group_type false

@adamrtalbot
Copy link
Contributor Author

adamrtalbot commented Mar 11, 2024

Proposal

Remove or replace with subworkflow level tests

The following can be made into subworkflow level tests or removed entirely.

Create pipeline level tests for the following

Global options

Alternative workflows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant