Skip to content

Commit

Permalink
update the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tcezard committed Nov 7, 2024
1 parent 709a066 commit 8981273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eva_submission/nextflow/accession_and_load.nf
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ process accession_vcf {
# TODO revert once accessioning pipeline properly registers structural variants
# First grep finds the "Structural variant" reported by the accessioning process, remove the duplicates, remove the * alleles and count
SV_IN_ACCESSION=\$(grep 'Skipped processing structural variant' ${params.logs_dir}/${log_filename}.log | grep -v "alternate='*'" | cut -d ' ' -f 10- | sort -u | wc -l)
# Second grep count the reported number of missing variants in the Accessioning report
# Second grep count the number of missing variants in the Accessioning report after removing the * alleles
SV_IN_QC_REPORT=\$(grep ' variants that were not found in the accession report' ${params.logs_dir}/${log_filename}.log | sed 's/, AbstractVariant/\\n AbstractVariant/g' | grep -v "alternate='*'" | wc -l)
echo "SV_IN_ACCESSION \$SV_IN_ACCESSION"
echo "SV_IN_QC_REPORT \$SV_IN_QC_REPORT"
Expand Down

0 comments on commit 8981273

Please sign in to comment.