当前位置: 首页>>代码示例>>Python>>正文


Python Launch.get_args方法代码示例

本文整理汇总了Python中launch.Launch.get_args方法的典型用法代码示例。如果您正苦于以下问题:Python Launch.get_args方法的具体用法?Python Launch.get_args怎么用?Python Launch.get_args使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在launch.Launch的用法示例。


在下文中一共展示了Launch.get_args方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: get_args

# 需要导入模块: from launch import Launch [as 别名]
# 或者: from launch.Launch import get_args [as 别名]
 def get_args(self):
     '''Parse the input arguments.'''
     ap = Launch.get_args(self,parse=False)
     
     ap.add_argument('-a', '--annotation',
                     help="Label of annotation (default: '" + self.ANNO_DEFAULT + "')",
                     choices=[self.ANNO_DEFAULT, 'M2','M3','M4'],
                     default=self.ANNO_DEFAULT,
                     required=False)
     return ap.parse_args()
开发者ID:RubD,项目名称:long-rna-seq-pipeline,代码行数:12,代码来源:srnaLaunch.py

示例2: get_args

# 需要导入模块: from launch import Launch [as 别名]
# 或者: from launch.Launch import get_args [as 别名]
    def get_args(self):
        """Parse the input arguments."""
        ap = Launch.get_args(self, parse=False)

        ap.add_argument(
            "-a",
            "--annotation",
            help="Label of annotation (default: '" + self.ANNO_DEFAULT + "')",
            choices=[self.ANNO_DEFAULT, "M2", "M3", "M4"],
            default=self.ANNO_DEFAULT,
            required=False,
        )
        return ap.parse_args()
开发者ID:Kisun,项目名称:long-rna-seq-pipeline,代码行数:15,代码来源:srnaLaunch.py

示例3: get_args

# 需要导入模块: from launch import Launch [as 别名]
# 或者: from launch.Launch import get_args [as 别名]
    def get_args(self):
        '''Parse the input arguments.'''
        ap = Launch.get_args(self,parse=False)
        
        # NOTE: Could override get_args() to have this non-generic control message
        #ap.add_argument('-c', '--control',
        #                help='The control bam for peak calling.',
        #                required=False)

        ap.add_argument('-a', '--annotation',
                        help="Label of annotation (default: '" + self.ANNO_DEFAULT + "')",
                        choices=[self.ANNO_DEFAULT, 'M2','M3','M4'],
                        default=self.ANNO_DEFAULT,
                        required=False)
        return ap.parse_args()
开发者ID:devnull86,项目名称:long-rna-seq-pipeline,代码行数:17,代码来源:rampageLaunch.py

示例4: get_args

# 需要导入模块: from launch import Launch [as 别名]
# 或者: from launch.Launch import get_args [as 别名]
    def get_args(self):
        '''Parse the input arguments.'''
        ap = Launch.get_args(self,parse=False)
        
        ap.add_argument('-a', '--annotation',
                        help="Label of annotation (default: '" + self.ANNO_DEFAULT + "')",
                        choices=[self.ANNO_DEFAULT, 'M2','M3','M4'],
                        default=self.ANNO_DEFAULT,
                        required=False)

        ap.add_argument('--no_tophat',
                        help='Do not include TopHat steps in pipeline (default: include TopHat steps).',
                        action='store_true',
                        required=False)

        return ap.parse_args()
开发者ID:BioNinja,项目名称:long-rna-seq-pipeline,代码行数:18,代码来源:lrnaLaunch.py

示例5: get_args

# 需要导入模块: from launch import Launch [as 别名]
# 或者: from launch.Launch import get_args [as 别名]
    def get_args(self):
        '''Parse the input arguments.'''
        ap = Launch.get_args(self,parse=False)
        
        ap.add_argument('-rl', '--read_length',
                        help='The length of reads.',
                        type=int,
                        choices=['32', '36', '40', '50', '58', '72', '76', '100'],
                        default='100',
                        required=False)

        ap.add_argument('--umi',
                        help='Treat fastqs as having UMI flags embedded.',
                        action='store_true',
                        required=False)

        # NOTE: Could override get_args() to have this non-generic control message
        #ap.add_argument('-c', '--control',
        #                help='The control bam for peak calling.',
        #                required=False)

        return ap.parse_args()
开发者ID:ENCODE-DCC,项目名称:dnase_pipeline,代码行数:24,代码来源:dnaseLaunch.py


注:本文中的launch.Launch.get_args方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。