annotate mashmap.bash.txt @ 9:dc53eb4354a6 draft

planemo upload
author fubar
date Sat, 24 Feb 2024 08:20:07 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
1 ln -s '$query' 'query' &&
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
2 #if len($reflist) > 1:
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
3 #for i, mash in enumerate($reflist):
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
4 #if i == 0:
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
5 echo '$mash' > 'reflist' &&
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
6 #else:
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
7 echo '$mash' >> 'reflist' &&
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
8 #end if
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
9 #end for
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
10 #end if
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
11 samtools faidx 'query' &&
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
12 mashmap --pi '$perc_identity' -s '$seqLength' -f '$filtermode' $dense \
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
13 #if int($sketchSize) > 0:
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
14 -J '$sketchSize' \
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
15 #end if
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
16 #if len($reflist) == 1:
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
17 -r '$reflist' -q 'query' &&
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
18 #else
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
19 --rl 'reflist' -q 'query' &&
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
20 #end if
dc53eb4354a6 planemo upload
fubar
parents:
diff changeset
21 cp 'mashmap.out' '$mashout'