Explorar el Código

修改参数顺序

zhangxudong hace 5 meses
padre
commit
9c9ede5a62
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      run-featurecounts.R

+ 1 - 1
run-featurecounts.R

@@ -11,10 +11,10 @@ p <- arg_parser("Run featureCounts and calculate FPKM/TPM")
 
 # 添加参数
 p <- add_argument(p, "--bam", help="input: bam file", type="character")
+p <- add_argument(p, "--strandSpecific", help="Strand specificity (0, 1, 2)", type="numeric", default=0)
 p <- add_argument(p, "--gtf", help="input: gtf file", type="character", default=NA)
 p <- add_argument(p, "--saf", help="input: saf file", type="character", default=NA)
 p <- add_argument(p, "--isPairedEnd", help="Paired-end reads, TRUE or FALSE", type="logical", default=TRUE)
-p <- add_argument(p, "--strandSpecific", help="Strand specificity (0, 1, 2)", type="numeric", default=0)
 p <- add_argument(p, "--featureType", help="Feature type in GTF annotation (default: exon)", type="character", default="exon")
 p <- add_argument(p, "--attrType", help="Attribute type in GTF annotation (default: gene_id)", type="character", default="gene_id")
 p <- add_argument(p, "--output", help="Output prefix", type="character")