# HG changeset patch
# User jpayne
# Date 1517941807 18000
# Node ID 156371cbc343030a05d3dc7527a87b733441d7a8
planemo upload
diff -r 000000000000 -r 156371cbc343 random_select.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/random_select.xml Tue Feb 06 13:30:07 2018 -0500
@@ -0,0 +1,74 @@
+
+ one pair of reads from a collection of paired reads
+
+
+ $output_seed &&
+ #import random
+ #set $_ = random.seed($seed)
+ #set $choice = random.choice(list($input))
+ cp $choice.forward $selection.forward && cp $choice.reverse $selection.reverse
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose one pair at random from a paired dataset.
+ If you re-use the seed, the choice should be the same
+ (this is for reproducability of analysis.)
+ Provide a blank seed value to use a seed created
+ as an MD5 sum of the dataset's name.
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 156371cbc343 test-data/sample1_1.fastq
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/sample1_1.fastq Tue Feb 06 13:30:07 2018 -0500
@@ -0,0 +1,40000 @@
+@r1
+GCCGTAGCGCGGATGGGTCAGCAAATCCCACAGACGCCAGGCCATGTTGTTGCTGTATGCCGGTTTAAACGTTCCGTCCCAGATACCGCTGTATTGC
++
+'4?)"3:B/6.9<2BH3467%8H6;-08<0-%8:A%1"-9$27%A,E")0C144:5*
+@r2
+ACAGGAGAATCCAGATGGATGCACAAANACGCCGCCGCGAACGTCNCGCAGAGAAACAGG
++
+2#7*:&FB1&3)F4:A0,17(F0'88DC*E
+@r3
+GAGCCGGAACTTCATGAAATCCCGGGAGGTAAACGGGCATNTCAGTTCAAGGCCGTTGCCGTAACTGCATAAACCATCGGGA
++
+1.,5<.+40387,24@.:42&*2&"5/$H&4@#-E-$D>G)>7@@9!?&"'/6+*8#3:H**C&H7B@+G!(E<",(&"G.*
+@r4
+TCCAATTTGAGCAAGGCTATGTGCCATCTCGATACTCGTTCTTAACTCAACAGAAGATGCTTTGTGCATACAGCCCCTCGTTTATTATTTATCTCCTCAGCCAGCCGCTGTGCTTTCAGTGGATTTCGGATAACAGAAAGGCCGGGAAATACCCAGCCTCGCTTTGTAACGGAGTAGACGAAAG
++
+987F5F:@3)/%+DG2%&*3B2D070:'B1599:($(3#/%9*"&>F!82"@H.@#A+?6>?+D%@:.D*"D;3(D2#;:4)F2D2A2&41464#(#@D?G0=@$@$".2*#+.=HG@/.6:6@:=A5*2C-=2>3;>3&D*-C?:9(@=6(6:>D&85+>BD-!/"FD((D@@>,=!-HG(%$2G62DB"@)8B-*/<75F)+B!A/;90=C.B?A-&@7F.&FCA369F$6'#87207F>??.;E&A%(.1AC>1G>%%3.9=*>DB><8B;E=$D$H&=*345@G+,'(!C&@)/$
+@r6
+ATTTTGGCTTAATGACTATATCCAATGAGTCAAAAAGCTCCCCTTCAATATCTGTTGCCCCTAAGACCTTTAATATATCGCCAAA
++
+3;&*-=>HH89E&.C$70FB%=1>;6#!B,">C&G&(:38+A*H.%A(+*+?'0(A>8$?@7A!*H/EDE'-AGA*/,"A+F:"!
+@r7
+TNCNNNNATGGCAGAAGATCGCAGCACGGTAACAGCGGCAACCGGCATGACCGTGACGCCTGCCAGCACCTCGGTGGTGANAGGGCAGAGCACCACGCTGACCGTGGCCTTCCAGCCGGAGGGCGTAACCGACAAGAGCTTTCGTGCGGTGTCTGCGGATAAAACAAAAGCCACCGTGTCGGTCAGTGGTATGACCATCACCGTGAACGGNGTTGCTGCAGGCAAGGTCAACATTCCGGTTGTATC
++
+%!%!*('(*+"("%$)'&*'%#&'''')('%*+"*'&+"$%**$*$+)''#&"&""*&"%%#'!))*!%+%!"""%'+'&+!)('&)$$"(&+$%+$&+!)#!(+'(%$&$%$**)*&$)#)++$*(%!"&*(#++!$&+)($+$)(%+"('%!"!!$+!('((+**+%*$++$!!$%#&(*++'$+""!)'%'%((&+&("###)%#&!+'+(*$)$+)!+!!$&%(#"$'$)++*$"%
+@r8
+TCTTGCGCTTGAAGCCGCCCGAAAGAAGGCNGAGCAGCAGACTCAACAGGACAAAAATGCGCAGCAGCNGAGCGATACCGAAGCGTCACGGCTGNAATATACCGAAGAGGCG
++
+#.''@7EE*=',:;B*%58$H/%HH4-67@;>/D2FH,?%C4&=6@1$-$G)@3036(90?$$.*))"59-5:#/A4E!C1"/B1B+'?0A!;%G(GA+;-+:?!G0,&E@<
+@r9
+TCAAATGCTGCAGCCGCCCAGGCGGGCGGTTTAAGACNGGCTGCACGGCGCTCCATCGTTTCACGGACCTGCTGGGCAAAAATTTCC
++
++*"&)$!(#$%$++&!&"#&*!'%!!%%'"!()!#'))+"!"*!(&%!%#!$%)%"**#$(+'!()+$)%$$)*%'$(+(%)&$!
+@r10
+GGGAAAGCATCAATAGAAATTGAAATCGACCATGACGTAATGACAGAGGAAAAACTTCACCAGATTAATAATTTCTGGTCAGACTCTGAATACCGACTCAATAAANACGGCTCTGTATTAAATGCTGTATTAATCATGCTGG
++
+"#+#&&")"%#'*(+'*)*$+&$#&)#*(!(&)$"$('#)%+%$%%!++$&)($(%&)&$$%%+'"&))%!(&*+'&!$*&$!%''"''&$&&+)'$%*()#&$%$&*!")&'$$(**+&&!(#$%"%$($*)""+*%%'
+@r11
+AAAGCCTGATGCAGGTAGCCAGTGAGCATATTGCGCCGCTTCAGGAT
++
+C+&9(DC57H3B(@,GB9@'=+8-.::83F")@;,@(0A':*&0;.4
+@r12
+TNCNCTCNNTNCNNCGTACNNTGAGAACANCGGNTGGANNCNNNGCTACCCGAACACCACNNTGGTCGGCGTGCAGGTGGACTCGGAGCATTTCGGCAGCCAGCAGGTGAGCCG
++
+'($"&$'!!!!!"$$!*&($!""*"&"$&!*%#*&)*!!$!(()*(')*''&*&'$'*'#'+!%+#'!)('%+$(')#""$%%!$!%(+)("$%!#&!%&"))(!'**++(!
+@r13
+CTACTTTCCNNTANNNAACTTTCGAAGTAAATCCCATGACACAGACAGAANCAGCGATTCTGGCGCACGCCCGGCGATGTGCGCCAGCGGAGTCGTGCGGCTTCGTGGTAAGCACGCCGGAGGNGGAANGATATTTCCCCTGCGTGAATATCTCNGGTGAGCCGGAGGCTATTTTCGTATGTCGCCGGAAGACTGGCTGCAGCCAGAAA
++
+$$!%)%$#))#%(&!##(#)*'()$+$+'"'%*&((&+$%()!+'!%(**+$(&'!%)!)&$'*&*)$"+)#$(*%&)!"%+"&&+'('#"$&%+(&$#&"&(%$$%%&$#&++$+!'(!'%*'$%")!**$+#!&+")&!+"!%)"&!%!()+%#*!+&"((+&$+(+!$)*%(($*+*()*!%*(##"''!!"%%(+)(
+@r14
+TGATACGGCTGAGGTTTTCAACGGCCTGCTCAAGACCTTTTATGGCCATACATCCCCCTTTCAGCGGCGACGGTTAACGGC
++
+>04=.4HA(6AF?G?(9=6+30D2%12H7+0$'(">FB1-->CHA59(15.'%02(A7#%?-+""D+C34C6'=)#B=,%!
+@r15
+CGGATTTACCGCAAGGACCGTAATCATCCNATCTGCGTTACCGAATGGATG
++
+/>E$"$2H.(3HD#2>$6G20$8"@H''H$?7!-*#?:.9A
+@r16
+GCGAATCGCAATCACNGAAGCTATACAGGCCAACATTGAGTTATTTTCAGGACACAAACACAAGCCTCTGACAGCGAGAATC
++
+G8>%!%2,(G$=7HDA1"3828!C'+$7!+9<2#<>223--G+>F?$?=B(2>)&E'8B03G"?9+4?6;%041/*9&+G
+@r17
+GATCCAGCGCAGTGTCACTGCGCGCCTGTGCACTCTGTGGTGCTGCGGCCAGAATNCGGCGGGCCGTTTTCACGGTCATACCGGGGGTTTCTGCCAGCACGCGTGCCTGTTCTTCGCGTCCGTG
++
+%:#=B2+@4':2E4%$/)9:'1>>?(D93D%H005A&("26E95!E?9"$:&6&9)F&@4D)AAFE2&E#.)';A$FB9;)<7%6FE,*'5#$E!#.H1+>+FE$(.8;/F105118A*GF-B+
+@r18
+GAAAAAATGCATGGTACTTTGCCAACTATGAACCGCGTATGAAGCGTGAAGGCCTGCATTATGTCGT
++
+;'8$=F'/?G5H=22!=3?&H1-G87=)7*/"46?&'7*A4.C4A-