# HG changeset patch
# User galaxy-australia
# Date 1667963657 0
# Node ID 3c8227556fdcf891ae3a0e4ed203f9e2fbba018b
# Parent 9422c5a87ee2aa60159efaa3491cc08cb19bbfa2
planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
diff -r 9422c5a87ee2 -r 3c8227556fdc cactus_cactus.xml
--- a/cactus_cactus.xml Tue Sep 20 05:38:05 2022 +0000
+++ b/cactus_cactus.xml Wed Nov 09 03:14:17 2022 +0000
@@ -6,17 +6,17 @@
> seqfile.txt &&
#end if
- #set seq_line = ''
#for $seq in $in_seqs:
#set seq_fn = str($seq.label) + '.' + $seq.fasta.ext
ln -s '$seq.fasta' '$seq_fn' &&
printf '%s %s\n' '$seq.label' '$seq_fn' >> seqfile.txt
- #set seq_line += $seq_fn + ' '
&&
#end for
@@ -24,40 +24,61 @@
#if $aln_mode.aln_mode_select == 'intraspecies':
## If we're doing a pangenome, we need to run the steps manually
- minigraph -xggs
- -t \${GALAXY_SLOTS:-4}
- $seq_line
- > pangenome.gfa
+ cactus-minigraph
+ --binariesMode local
+ --mapCores \${GALAXY_SLOTS:-4}
+ --maxMemory \${GALAXY_MEMORY_MB:-8192}M
+ --reference $aln_mode.ref_level
+ --workDir ./
+ ./jobStore
+ ./seqfile.txt
+ pangenome.gfa
&&
cactus-graphmap
+ --binariesMode local
--maxCores \${GALAXY_SLOTS:-4}
--maxMemory \${GALAXY_MEMORY_MB:-8192}M
+ --outputFasta pangenome.gfa.fa
+ --reference $aln_mode.ref_level
+ --workDir ./
./jobStore
./seqfile.txt
pangenome.gfa
pangenome.paf
- --outputFasta pangenome.gfa.fa
- --binariesMode local
- --workDir ./
&&
cactus-align
+ --binariesMode local
--maxCores \${GALAXY_SLOTS:-4}
--maxMemory \${GALAXY_MEMORY_MB:-8192}M
+ --outVG
+ --pangenome
+ --reference $aln_mode.ref_level
+ --workDir ./
./jobStore
./seqfile.txt
pangenome.paf
alignment.hal
- --pangenome
+ &&
+ cactus-graphmap-join
--binariesMode local
- --workDir ./
+ --gfaffix
+ --giraffe
+ --maxCores \${GALAXY_SLOTS:-4}
+ --maxMemory \${GALAXY_MEMORY_MB:-8192}M
+ --outDir ./
+ --outName alignment
+ --reference $aln_mode.ref_level
+ --vg alignment.vg
+ --wlineSep "."
+ ./jobStore
#else if $aln_mode.aln_mode_select == 'interspecies':
## Run cactus normally
cactus
+ --binariesMode local
--maxCores \${GALAXY_SLOTS:-4}
--maxMemory \${GALAXY_MEMORY_MB:-8192}M
+ --workDir ./
jobStore seqfile.txt alignment.hal
- --binariesMode local
- --workDir ./
#end if
]]>
@@ -71,6 +92,7 @@
+
@@ -83,10 +105,13 @@
+
+ aln_mode[aln_mode_select] == 'intraspecies'
+
-
+
@@ -118,9 +143,10 @@
-
+
+
@@ -144,14 +170,20 @@
+
-
+
+
@@ -170,11 +202,17 @@
+
-
+
+
@@ -189,6 +227,11 @@
+
`__
@@ -227,6 +270,8 @@
pangenome mode, select ‘Within-species’ in the ‘Alignment mode’
dropdown.
+Unlike Between-species mode, Within-species mode depends on a predetermined reference genome
+
**Input**
The developers recommend soft-masking your genomes with RepeatMasker
diff -r 9422c5a87ee2 -r 3c8227556fdc macros.xml
--- a/macros.xml Tue Sep 20 05:38:05 2022 +0000
+++ b/macros.xml Wed Nov 09 03:14:17 2022 +0000
@@ -1,8 +1,8 @@
- 2.2.1
- 1
+ 2.2.4
+ 0
20.09
- e871d782967a66d29488e4f6971aafb4568407f6d6833010bb521cba79e61500
+ b22eb2ef1d8c6f152d12d0e4300ac68affea5aafb2f7022f9078e8e72e41654d