| 
    
       rule mafft:
 
     | 
  
  
     | 
    
           input: 
 
     | 
  
  
     | 
    
               "fusionFasta/allSequences.fasta",
 
     | 
  
  
     | 
    
           output:
 
     | 
  
  
     | 
    
               "mafft/mafft_res.fasta",
 
     | 
  
  
     | 
    
           shell:
 
     | 
  
  
     | 
    
               """
 
     | 
  
  
     | 
    
                   mafft {input} > {output} 
 
     | 
  
  
     | 
    
               """
 
     | 
  
  
     | 
    
       
     | 
  
  
     | 
    
       
     | 
  
  
     | 
    
       rule loadData:
 
     | 
  
  
     | 
    
           output: 
 
     | 
  
  
     | 
    
                "fasta/P01325.fasta", "fasta/P01308.fasta",
 
     | 
  
  
     | 
    
           params:
 
     | 
  
  
     | 
    
               dirFasta = "fasta",
 
     | 
  
  
     | 
    
           shell:
 
     | 
  
  
     | 
    
               """
 
     | 
  
  
     | 
    
                 wget --directory-prefix {params.dirFasta} https://www.uniprot.org/uniprot/P01325.fasta
 
     | 
  
  
     | 
    
                 wget --directory-prefix {params.dirFasta} https://www.uniprot.org/uniprot/P01308.fasta
 
     | 
  
  
     | 
    
               """
 
     | 
  
  
     | 
    
       
     | 
  
  
     | 
    
       
     | 
  
  
     | 
    
       rule fusionFasta:
 
     | 
  
  
     | 
    
           input:
 
     | 
  
  
     | 
    
               p1="fasta/P01325.fasta", 
 
     | 
  
  
     | 
    
               p2="fasta/P01308.fasta",
 
     | 
  
  
     | 
    
           output:
 
     | 
  
  
     | 
    
               "fusionFasta/allSequences.fasta",
 
     | 
  
  
     | 
    
           shell:
 
     | 
  
  
     | 
    
               """
 
     | 
  
  
     | 
    
                   cat {input.p1} {input.p2} > {output}
 
     | 
  
  
     | 
    
               """
 
     | 
  
  
     | 
    
       
     |