Perhaps someone more familiar with sarek's inner w...
# sarek
m
Perhaps someone more familiar with sarek's inner workings can help with my next issue 😆 I'm running with:
Copy code
--tools deepvariant,haplotypecaller,manta,tiddit,mutect2,strelka,snpeff,vep,merge
I get an annotation subdir in the output, but there is no VEP data in there:
Copy code
ls sarek-test/3588201/pubdir/annotation/ --recursive
sarek-test/3588201/pubdir/annotation/deepvariant/Normal-WES/Normal-WES.deepvariant_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/deepvariant/Normal-WES/Normal-WES.deepvariant_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/haplotypecaller/Normal-WES/Normal-WES.haplotypecaller.filtered_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/haplotypecaller/Normal-WES/Normal-WES.haplotypecaller.filtered_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/manta/Normal-WES/Normal-WES.manta.diploid_sv_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/manta/Normal-WES/Normal-WES.manta.diploid_sv_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/manta/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.manta.diploid_sv_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/manta/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.manta.diploid_sv_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/manta/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.manta.somatic_sv_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/manta/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.manta.somatic_sv_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/strelka/Normal-WES/Normal-WES.strelka.variants_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/strelka/Normal-WES/Normal-WES.strelka.variants_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/strelka/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.strelka.somatic_indels_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/strelka/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.strelka.somatic_indels_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/strelka/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.strelka.somatic_snvs_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/strelka/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.strelka.somatic_snvs_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/tiddit/Normal-WES/Normal-WES.tiddit_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/tiddit/Normal-WES/Normal-WES.tiddit_snpEff.ann.vcf.gz.tbi
sarek-test/3588201/pubdir/annotation/tiddit/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.tiddit_sv_merge_snpEff.ann.vcf.gz
sarek-test/3588201/pubdir/annotation/tiddit/Tumor-WES_vs_Normal-WES/Tumor-WES_vs_Normal-WES.tiddit_sv_merge_snpEff.ann.vcf.gz.tbi
It seems like i'm getting snpeff annotation on everything, and there's a merge annotation in tiddit, but no VEP data from what i can tell
m
interesting
could you share some log?
m
yep, let me go fetch it
hrm. the formatting is funky b/c AWS but i see:
Copy code
[1mMain options[0m
  [0;34mwes                                              : [0;32mtrue[0m
  [0;34mtools                                            : [0;32mdeepvariant,haplotypecaller,manta,tiddit,mutect2,strelka,snpeff,vep,merge[0m
but no other instances of "vep" in the logs other than my container addresses
is there a key in the log for the overall run plan?
i will also mention that I had run without snepff,vep in the list only leaving
merge
and got no annotations at all i added snpeff,vep and left merge and this is my result
m
no VEP mentionned in the log at all?
m
nope, the only places it shows up are in the module container paths
i.e.
Copy code
Script_819aadb1392fd995: /mnt/workflow/3588201/f0ccb8cc-50d6-eef0-6eb7-267e6275d835/definition/./workflows/sarek/../../subworkflows/local/vcf_annotate_all/../../nf-core/vcf_annotate_ensemblvep/../../../modules/nf-core/ensemblvep/vep/main.nf
m
any specific config?
m
just my vep cache values
Copy code
[0;34mvep_cache                                        : [0;32ms3://mt-debug/vep_cache/[0m
  [0;34mvep_cache_version                                : [0;32m115[0m
m
and you managed to run snpeff, but not vep?
m
yep
snpeff runs fine
m
could you share full command line and configs
m
running via AWS HealthOmics
so the params are all specified here
configs are default except for
Copy code
params {
    ecr_registry = '<ACCT>.dkr.ecr.us-east-1.amazonaws.com'
    outdir = '/mnt/workflow/pubdir'
}

manifest {
    nextflowVersion = '!>=22.04.0'
}

conda {
    enabled = false
}

docker {
    enabled = true
    registry = params.ecr_registry
}
m
no warnings at all?
m
and my container mapping details
nope
m
because I can see snpeff_cache and vep_cache have a different setup
m
slightly yes
some bizarre issues with paths and tool expectations
i will try running it again with no task caching just in case
m
both tools expect more or less the same logic, which is why I baked in annotation-cache
m
right
i was having really weird issues with the snpeff_cache path
m
basically for both tools you give the root path to the cache, and the tools know the full path due to the cache versions, species etc
it's great on HPC, but not as efficient on cloud since the root path is the input, and you don't want to mount that for every run, hence the extra layer in which each folder is its own cache instance, and sarek internally recompute the path for you
m
it's possible i have some weird task caching that is short circuiting the vep call
i'll try again
i figured it out finally I didnt include
vep_genome
or
vep_species
I'm not using iGenome ref (for some complicated reasons) so i have to supply all the args manually. it seems that if there are some parameters missing it will skip the VEP steps even if you have
vep
in the list of tools Might be a nice error or warning to add, not sure exactly where that should happen tho
m
Good idea
I'll add such a check
👍 1