diff --git a/src/samtools/index/config.vsh.yaml b/src/samtools/samtools_index/config.vsh.yaml similarity index 85% rename from src/samtools/index/config.vsh.yaml rename to src/samtools/samtools_index/config.vsh.yaml index 07d81728..da4cd76a 100644 --- a/src/samtools/index/config.vsh.yaml +++ b/src/samtools/samtools_index/config.vsh.yaml @@ -1,13 +1,13 @@ name: samtools_index namespace: samtools -description: Index SAM/BAM/CRAM files +description: Index SAM/BAM/CRAM files. keywords: [index, bam, sam, cram] links: homepage: https://www.htslib.org/ documentation: https://www.htslib.org/doc/samtools-index.html - repository: https://github.com/samtools/samtools.git + repository: https://github.com/samtools/samtools references: - doi: 10.1093/bioinformatics/btp352, 10.1093/gigascience/giab008 + doi: [10.1093/bioinformatics/btp352, 10.1093/gigascience/giab008] license: MIT/Expat argument_groups: @@ -67,7 +67,8 @@ engines: setup: - type: docker run: | - echo "$(samtools --version 2>&1)" > /var/software_versions.txt + samtools --version 2>&1 | grep -E '^(samtools|Using htslib)' | \ + sed 's#Using ##;s# \([0-9\.]*\)$#: \1#' > /var/software_versions.txt runners: - type: executable - type: nextflow \ No newline at end of file diff --git a/src/samtools/index/help.txt b/src/samtools/samtools_index/help.txt similarity index 100% rename from src/samtools/index/help.txt rename to src/samtools/samtools_index/help.txt diff --git a/src/samtools/index/script.sh b/src/samtools/samtools_index/script.sh similarity index 100% rename from src/samtools/index/script.sh rename to src/samtools/samtools_index/script.sh diff --git a/src/samtools/index/test.sh b/src/samtools/samtools_index/test.sh similarity index 100% rename from src/samtools/index/test.sh rename to src/samtools/samtools_index/test.sh diff --git a/src/samtools/index/test_data/a.sorted.bam b/src/samtools/samtools_index/test_data/a.sorted.bam similarity index 100% rename from src/samtools/index/test_data/a.sorted.bam rename to src/samtools/samtools_index/test_data/a.sorted.bam diff --git a/src/samtools/index/test_data/a_4_ref.sorted.bam.bai b/src/samtools/samtools_index/test_data/a_4_ref.sorted.bam.bai similarity index 100% rename from src/samtools/index/test_data/a_4_ref.sorted.bam.bai rename to src/samtools/samtools_index/test_data/a_4_ref.sorted.bam.bai diff --git a/src/samtools/index/test_data/a_multiple_ref.sorted.bam.bai b/src/samtools/samtools_index/test_data/a_multiple_ref.sorted.bam.bai similarity index 100% rename from src/samtools/index/test_data/a_multiple_ref.sorted.bam.bai rename to src/samtools/samtools_index/test_data/a_multiple_ref.sorted.bam.bai diff --git a/src/samtools/index/test_data/a_ref.sorted.bam.bai b/src/samtools/samtools_index/test_data/a_ref.sorted.bam.bai similarity index 100% rename from src/samtools/index/test_data/a_ref.sorted.bam.bai rename to src/samtools/samtools_index/test_data/a_ref.sorted.bam.bai diff --git a/src/samtools/index/test_data/a_ref.sorted.bam.csi b/src/samtools/samtools_index/test_data/a_ref.sorted.bam.csi similarity index 100% rename from src/samtools/index/test_data/a_ref.sorted.bam.csi rename to src/samtools/samtools_index/test_data/a_ref.sorted.bam.csi diff --git a/src/samtools/index/test_data/script.sh b/src/samtools/samtools_index/test_data/script.sh similarity index 100% rename from src/samtools/index/test_data/script.sh rename to src/samtools/samtools_index/test_data/script.sh