@@ -14,6 +14,7 @@ parser.add_argument('-seq', type=str, nargs=1, help='Single-end or paired-end se
1414 choices = ['pe' ,'se' ], required = True , dest = 'seq' )
1515parser .add_argument ('-o' , type = str , nargs = 1 , help = 'Output file name' , dest = 'outfile' , default = None )
1616parser .add_argument ('--mixed' , help = 'Use CNN trained on a dataset with mixed peaks, narrow by default' , action = 'store_true' , default = None )
17+ parser .add_argument ('--rna' , help = 'Use CNN trained on a dataset with mixed peaks, narrow by default' , action = 'store_true' , default = None )
1718parser .add_argument ('-p' , type = int , nargs = 1 , help = 'Number of processes, 1 by default' , dest = 'processes' , default = None )
1819parser .add_argument ('-max' , type = int , nargs = 1 , help = 'Maximum value for number of locations a read can map' , dest = 'maxlocations' , default = None )
1920parser .add_argument ('--keep-unmap' , help = 'Keep unmapped reads and reads that include N in their sequence' , action = 'store_true' , default = None )
@@ -84,6 +85,10 @@ if __name__ == '__main__':
8485 d = os .path .dirname (sys .modules ["Allo" ].__file__ )
8586 m = os .path .join (d , "mixed" )
8687 winSize = 500
88+ elif args .rna is not None :
89+ d = os .path .dirname (sys .modules ["Allo" ].__file__ )
90+ m = os .path .join (d , "rna" )
91+ winSize = 1000
8792 else :
8893 d = os .path .dirname (sys .modules ["Allo" ].__file__ )
8994 m = os .path .join (d , "narrow" )
0 commit comments