# HG changeset patch # User iuc # Date 1762952662 0 # Node ID b85b9712cb18d1489bf9ed730fbe7113a2da5bac # Parent 1e5880498f52a17441df837cd0c84ff5a7b3265f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 19dd8b645a77899ff98d139d79de824a23f416bb diff -r 1e5880498f52 -r b85b9712cb18 macros.xml --- a/macros.xml Tue Sep 28 16:15:54 2021 +0000 +++ b/macros.xml Wed Nov 12 13:04:22 2025 +0000 @@ -5,8 +5,15 @@ - 1.13 - 20.05 + + 1.22 + 1 + 24.0 &2 && + gzip -dc \$reffa > reference.fa && + reffa="reference.fa" && + samtools faidx \$reffa; + } + } && + #end if + reffai=\$reffa.fai && #elif $addref_cond.addref_select == "cached": - #set reffa=str($addref_cond.ref.fields.path) - #set reffai=str($addref_cond.ref.fields.path)+".fai" + ## in case of cached the absolute path is used which allows to read + ## a cram file without specifying the reference + reffa='${addref_cond.ref.fields.path}' && + reffai=\$reffa.fai && #else - #set reffa=None - #set reffai=None + #set use_ref=False #end if ]]> - + @HELP@ @@ -127,6 +167,18 @@ + + + + + + + + + + + + @@ -179,37 +231,8 @@ - - @misc{SAM_def, - title={Definition of SAM/BAM format}, - url = {https://samtools.github.io/hts-specs/},} - - 10.1093/bioinformatics/btp352 + 10.1093/gigascience/giab008 10.1093/bioinformatics/btr076 - 10.1093/bioinformatics/btr509 - - @misc{Danecek_et_al, - Author={Danecek, P., Schiffels, S., Durbin, R.}, - title={Multiallelic calling model in bcftools (-m)}, - url = {http://samtools.github.io/bcftools/call-m.pdf},} - - - @misc{Durbin_VCQC, - Author={Durbin, R.}, - title={Segregation based metric for variant call QC}, - url = {http://samtools.github.io/bcftools/rd-SegBias.pdf},} - - - @misc{Li_SamMath, - Author={Li, H.}, - title={Mathematical Notes on SAMtools Algorithms}, - url = {http://www.broadinstitute.org/gatk/media/docs/Samtools.pdf},} - - - @misc{SamTools_github, - title={SAMTools GitHub page}, - url = {https://github.com/samtools/samtools},} - diff -r 1e5880498f52 -r b85b9712cb18 samtools_phase.xml --- a/samtools_phase.xml Tue Sep 28 16:15:54 2021 +0000 +++ b/samtools_phase.xml Wed Nov 12 13:04:22 2025 +0000 @@ -1,4 +1,4 @@ - + call and phase heterozygous SNPs macros.xml diff -r 1e5880498f52 -r b85b9712cb18 test-data/empty_file_1.bam Binary file test-data/empty_file_1.bam has changed diff -r 1e5880498f52 -r b85b9712cb18 test-data/empty_file_3.bam Binary file test-data/empty_file_3.bam has changed diff -r 1e5880498f52 -r b85b9712cb18 test-data/samtools_phase_out_1_phase0.bam Binary file test-data/samtools_phase_out_1_phase0.bam has changed diff -r 1e5880498f52 -r b85b9712cb18 test-data/samtools_phase_out_1_phase1.bam Binary file test-data/samtools_phase_out_1_phase1.bam has changed diff -r 1e5880498f52 -r b85b9712cb18 test-data/samtools_phase_out_2_chimera.bam Binary file test-data/samtools_phase_out_2_chimera.bam has changed diff -r 1e5880498f52 -r b85b9712cb18 test-data/samtools_phase_out_2_phase0.bam Binary file test-data/samtools_phase_out_2_phase0.bam has changed diff -r 1e5880498f52 -r b85b9712cb18 test-data/samtools_phase_out_2_phase1.bam Binary file test-data/samtools_phase_out_2_phase1.bam has changed diff -r 1e5880498f52 -r b85b9712cb18 test-data/samtools_phase_out_3_phase0.bam Binary file test-data/samtools_phase_out_3_phase0.bam has changed diff -r 1e5880498f52 -r b85b9712cb18 test-data/samtools_phase_out_3_phase1.bam Binary file test-data/samtools_phase_out_3_phase1.bam has changed