# HG changeset patch
# User iuc
# Date 1725765807 0
# Node ID 43f90a79608d780e0bea5907c7dd69b295984a8a
# Parent cf4d627c5cc0f0b9d02a90c16c100f553ca299cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 9c5a35ce695c3d134e41d8695487edd5f71ea33c
diff -r cf4d627c5cc0 -r 43f90a79608d macros.xml
--- a/macros.xml Tue Sep 28 16:07:07 2021 +0000
+++ b/macros.xml Sun Sep 08 03:23:27 2024 +0000
@@ -5,8 +5,15 @@
- 1.13
- 20.05
+
+ 1.20
+ 2
+ 22.05
&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@
@@ -179,37 +219,7 @@
-
- @misc{SAM_def,
- title={Definition of SAM/BAM format},
- url = {https://samtools.github.io/hts-specs/},}
-
- 10.1093/bioinformatics/btp352
- 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},}
-
+ 10.1093/gigascience/giab008
diff -r cf4d627c5cc0 -r 43f90a79608d samtools_sort.xml
--- a/samtools_sort.xml Tue Sep 28 16:07:07 2021 +0000
+++ b/samtools_sort.xml Sun Sep 08 03:23:27 2024 +0000
@@ -1,4 +1,4 @@
-
+
order of storing aligned sequences
macros.xml
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/1_sort.bam
Binary file test-data/1_sort.bam has changed
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/1_sort_read_names.bam
Binary file test-data/1_sort_read_names.bam has changed
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/minhash.expected.bam
Binary file test-data/minhash.expected.bam has changed
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/name.sort.expected.bam
Binary file test-data/name.sort.expected.bam has changed
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/pos.sort.expected.bam
Binary file test-data/pos.sort.expected.bam has changed
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/tag.as.sort.expected.bam
Binary file test-data/tag.as.sort.expected.bam has changed
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/tag.fi.sort.expected.bam
Binary file test-data/tag.fi.sort.expected.bam has changed
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/tag.rg.n.sort.expected.bam
Binary file test-data/tag.rg.n.sort.expected.bam has changed
diff -r cf4d627c5cc0 -r 43f90a79608d test-data/tag.rg.sort.expected.bam
Binary file test-data/tag.rg.sort.expected.bam has changed