[root@room9pc01 ~]# seq 5 1 2 3 4 5 [root@room9pc01 ~]# seq 2 5 2 3 4 5 seq 1 2 10 1 3 5 7 9 [root@desktop0 ~]# seq 10 -2 1 10 8 6 4 2 /etc/profile #定义的系统变量文件 回车: \n或\r num=$[RANDOM%100+1] #0-100随机数 > >> 2> 2>> &> &>> echo...
NR 表示awk开始执行程序后所读取的数据行数 OFS Out of Field Separator,输出字段分隔符 用featureCounts (subread工具包中的组件) # Make a saf(simplified annotation format) file for featureCount in the subread package, shown below: GeneID Chr Start End Strand 497097 chr1 3204563 3207049 - 497097 chr...
infile.bai && sample_fragment=`samtools view -c -f 0 -F 0 -G 0 infile | awk '{s=$1} END {fac=s/200000; printf("%.8f\n", fac > 1 ? 1/fac : 1)}'` && samtools view -@ $addthreads -b -f 0 -F 0 -G 0 --subsample-seed 1 --subsample ${sample_fragment} -o ...
paste file3 file1 > file4 # 将file4行列转置 awk '{ for (i=1;i<=NF;i++){ if (NR==1){ res[i]=$i } else{ res[i]=res[i]" "$i } } }END{ for(j=1;j<=NF;j++){ print res[j] } }' file4 > file5 # 在file2首行加入内容 sed '1i Index' file2 > file6 paste ...
NR 表示awk开始执行程序后所读取的数据行数 OFS Out of Field Separator,输出字段分隔符 用featureCounts (subread工具包中的组件) # Make a saf(simplified annotation format) file for featureCount in the subread package, shown below: GeneID Chr Start End Strand 497097 chr1 3204563 3207049 - 49709...
ATACProc is a pipeline to analyze ATAC-seq data. Currently datasets involving one of the four reference genomes, namely hg19, hg38, mm9 and mm10 are supported. Important features of this pipeline are: Supports single or paired-end fastq or BAM formatted data. ...