Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akotlar committed Nov 16, 2024
1 parent eae1d66 commit 36598a7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you encounter any problems, feel free to open an issue [here](https://github.

## Version History

[Version 2.0.3 - Version 2.0.6](https://github.com/bystrogenomics/imputationserver2/releases/tag/v2.0.7) - Fix QC issues and remove HTSJDK index creation for input validation and QC.
[Version 2.0.3 - Version 2.0.6](https://github.com/bystrogenomics/imputationserver2/releases/tag/v2.0.8) - Fix QC issues and remove HTSJDK index creation for input validation and QC.

[Version 2.0.2](https://github.com/bystrogenomics/imputationserver2/releases/tag/v2.0.2) - Set minimac4 tmp directory (required for larger sample sizes).

Expand Down
20 changes: 13 additions & 7 deletions modules/local/input_validation/input_validation_vcf.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ process INPUT_VALIDATION_VCF {

output:
path("validated_vcfs/*.vcf.gz"), emit: validated_files
path("skipped_vcfs/*.vcf.gz"), emit: skipped_files
path("skipped_vcfs/*.vcf.gz"), emit: skipped_files, optional: true
path("validation_report.txt"), emit: validation_report

script:
Expand Down Expand Up @@ -161,17 +161,23 @@ EOF
vcf_files_to_validate+=("\$f")
mv "\$f" validated_vcfs/
if [ -f "\$f.csi" ] || [ -f "\$f.tbi" ]; then
mv "\$f".csi validated_vcfs/
mv "\$f".tbi validated_vcfs/
if [ -f "\$f.csi" ] ; then
mv "\$f.csi" validated_vcfs/
fi
if [ -f "\$f.tbi" ]; then
mv "\$f.tbi" validated_vcfs/
fi
else
skipped_vcfs+=("\$f")
mv "\$f" skipped_vcfs/
if [ -f "\$f.csi" ] || [ -f "\$f.tbi" ]; then
mv "\$f".csi skipped_vcfs/
mv "\$f".tbi skipped_vcfs/
if [ -f "\$f.csi" ] ; then
mv "\$f.csi" skipped_vcfs/
fi
if [ -f "\$f.tbi" ]; then
mv "\$f.tbi" skipped_vcfs/
fi
fi
done
Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
manifest {
name = 'imputationserver2'
version = 'v2.0.7'
version = 'v2.0.8'
description = 'Genotype Imputation Server 2'
author = 'Lukas Forer & Sebastian Schönherr'
homePage = 'https://github.com/bystrogenomics/imputationserver2'
Expand Down Expand Up @@ -98,7 +98,7 @@ profiles {

docker.enabled = true
singularity.enabled = false
process.container = 'bystrogenomics/imputationserver2:v2.0.7'
process.container = 'bystrogenomics/imputationserver2:v2.0.8'

test {
includeConfig 'conf/test.config'
Expand Down

0 comments on commit 36598a7

Please sign in to comment.