<@U07LU1V0ZAL> I added a default pipeline level nf...
# team-maintainers
s
@Tanya Sarkin Jain I added a default pipeline level nf-test for
pacvar
here in this PR . But, there is something strange happening: • running the
test
profile works fine
Copy code
executor >  local (39)
[f5/c7fa3c] process > NFCORE_PACVAR:PACVAR:LIMA (sample1)                                                  [100%] 2 of 2 ✔
[39/c92ce8] process > NFCORE_PACVAR:PACVAR:PBMM2_ALIGN (sample2.bc2058--bc2058)                            [100%] 4 of 4 ✔
[d1/a256d4] process > NFCORE_PACVAR:PACVAR:SAMTOOLS_SORT (sample1.bc2058--bc2058)                          [100%] 4 of 4 ✔
[c5/b75423] process > NFCORE_PACVAR:PACVAR:SAMTOOLS_INDEX (sample2.bc2058--bc2058)                         [100%] 4 of 4 ✔
[a2/373061] process > NFCORE_PACVAR:PACVAR:REPEAT_CHARACTERIZATION:TRGT_GENOTYPE (sample2.bc2058--bc2058)  [100%] 4 of 4 ✔
[fd/8278ab] process > NFCORE_PACVAR:PACVAR:REPEAT_CHARACTERIZATION:SAMTOOLS_SORT (sample2.bc2058--bc2058)  [100%] 4 of 4 ✔
[76/7b048e] process > NFCORE_PACVAR:PACVAR:REPEAT_CHARACTERIZATION:SAMTOOLS_INDEX (sample2.bc2058--bc2058) [100%] 4 of 4 ✔
[04/2724a6] process > NFCORE_PACVAR:PACVAR:REPEAT_CHARACTERIZATION:BCFTOOLS_SORT (sample2.bc2058--bc2058)  [100%] 4 of 4 ✔
[6e/6538b4] process > NFCORE_PACVAR:PACVAR:REPEAT_CHARACTERIZATION:BCFTOOLS_INDEX (sample2.bc2058--bc2058) [100%] 4 of 4 ✔
[8a/665748] process > NFCORE_PACVAR:PACVAR:REPEAT_CHARACTERIZATION:TRGT_PLOT (sample2.bc2058--bc2058)      [100%] 4 of 4 ✔
[ff/bd40ca] process > NFCORE_PACVAR:PACVAR:MULTIQC                                                         [100%] 1 of 1 ✔
-[nf-core/pacvar] Pipeline completed successfully-
• Run the same
test
profile with nf-test, getting an error:
Copy code
Test [6b0d8df6] 'Params: default' htsjdk.samtools.SAMFormatException: SAM validation error: ERROR::INVALID_MAPPING_QUALITY:Record 1, Read name m84127_240712_175808_s4/198446692/ccs, MAPQ should be 0 for unmapped read.
FAILED (42.618s)

  Assertion failed:
Any idea what could be causing this ?
also this local subworkflow of SET_VALUE_CHANNEL seems unnecessary as value channels can be created using operators directly in the main script when needed
👍 1
j
Looks to me possibly some slight variation in mapping? Maybe some. Heuristic means that that read doesn't always actually get aligned
s
well it doesn't run atleast once using nf-test to create a snapshot and then vary for the next run. I suspect something else is happening
🤔 1
t
I don't have an idea of what is causing that error -- though I'll look into it... I know the workflow that test tests, produces the correct expected outputs. On the PR, where can I see that error message produced by nf-test? https://github.com/nf-core/pacvar/actions/runs/12210427364/job/34066482171?pr=9 shows the test passing
s
you will have to open the PR in gitpod and then run
nf-test test tests/ --profile docker
to see the error
👍 1
t
Thanks!
Seems like the issue might be with the sample data I'm supplying as input - the input data is both unaligned and all entries have a MAPQ value of 255, when it is typical for unaligned reads to have a MAPQ value of 0, though it doesn't impact anything downstream - I can change the input data to have a MAPQ value of 0 and this should hopefully solve the issue.
s
interesting, why doesn't it error out with nextflow run ?
t
Im not sure - it produces all valid outputs, so the fact that it is unmapped may be used over it's MAPQ value by tools
Hi Sateesh - resolved the issues you brought up nf-test is now passing and removed that un-needed subworkflow. I want to try the full_test but when I run it on github actions I get Run AWS full tests Not Found - https://docs.github.com/rest. Also does nf-test run on the AWS full test as well? I ask because the raw large pacbio data ha the 255 MAPQ value and I'd have to change it to 0 (like i did for the github tests) to avoid that nf-test assertion error, however Im grabbing the data directly from Pacbio's sample dataset repository. Thanks!
s
pinging @mashehu about aws test full trigger not working
m
Is this aws full test manually triggered or with a release PR?
s
i tried manual
m
With the fix from the latest template update (adding an if clause to the request step?
t
How can I check this?