单细胞数据挖掘1-bam-fastq-matrix

2020-05-03  本文已影响0人  大吉岭猹

1. 写在前面

2. bam-fastq

ls bam/Lin*bam | while read id;
do
    tmp1=${id%_*}
    tmp2=${tmp1%_*}
    tmp3=${tmp2%_*}
    sample=${tmp3##*_}
    echo $sample

    bamtofastq-1.2.0 --nthreads=24 $id out_${sample}
done
a=a_b_c_d
echo $a
b=`echo $a|cut -d"_" -f 3`
echo $b

3. fastq-matrix

cellranger count \
  --id=lk_cellranger_SIGAH1 \
  --transcriptome=/ref/cellranger/refdata-cellranger-mm10-3.0.0 \
  --fastqs=/new_lk/step01-bam-fastq-matrix/out_SIGAH1/SIGAH1_MissingLibrary_1_HHW22BBXX \
  --sample=bamtofastq \
  --nosecondary \
  --localcores=18 \
  --localmem=30

友情宣传

上一篇 下一篇

猜你喜欢

热点阅读