# HG changeset patch # User mvdbeek # Date 1429099075 14400 # Node ID 3dcce035dd6c7d3aeba78bf22826d35eee9778a6 # Parent 22dc61eaed53f0fc3dd820de452e61ce6cd76045 Uploaded diff -r 22dc61eaed53 -r 3dcce035dd6c generate_sliding_windows.xml --- a/generate_sliding_windows.xml Wed Apr 15 06:38:06 2015 -0400 +++ b/generate_sliding_windows.xml Wed Apr 15 07:57:55 2015 -0400 @@ -1,5 +1,5 @@ -"Split fasta sequence in nucleotide windows" +Split fasta sequence in nucleotide windows biopython @@ -8,7 +8,7 @@ @@ -16,20 +16,50 @@ - + - + input + ATGCATGCATGCATGCATGCATGCATCGATGCATCGATCG + +produces the following multi-fasta output with window size 10 and step 5: + +:: + + + >input_start:1_stop:10 + ATGCATGCAT + >input_start:6_stop:15 + TGCATGCATG + >input_start:11_stop:20 + GCATGCATGC + >input_start:16_stop:25 + CATGCATGCA + >input_start:21_stop:30 + ATGCATCGAT + >input_start:26_stop:35 + TCGATGCATC + +------------------------- + optional arguments: -h, --help show this help message and exit --input INPUT supply an input multi-fasta file.