File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/8b/e98e9056495cfa82d3ad3bd57cc7b9/.command.log
Size
11.3 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/fd/7325fc1391d1e6b2f9fa89cec159e5/RGB_RLP_lowDV_1ststrand_42C_3.md.bai
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.fa
  Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/8b/e98e9056495cfa82d3ad3bd57cc7b9/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/fd/7325fc1391d1e6b2f9fa89cec159e5/RGB_RLP_lowDV_1ststrand_42C_3.md.bam
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.dict
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/gatk4/dbsnp_hg38_contam_sites.bed
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/8b/e98e9056495cfa82d3ad3bd57cc7b9/.command.run
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.fa.fai
  Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/twist/Twist_rna_exome_AND_fusion_hg38.bed
  Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi
==> STAGING COMPLETE (11 inputs)

+ mkdir RGB_RLP_lowDV_1ststrand_42C_3
+ all_qc -bam RGB_RLP_lowDV_1ststrand_42C_3.md.bam -beds Twist_rna_exome_AND_fusion_hg38.bed -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz -contamination_bed dbsnp_hg38_contam_sites.bed -output_folder RGB_RLP_lowDV_1ststrand_42C_3 -reference ref_genome.fa -region chr20
mkdir -p RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/full_bed.bed


seqtool depth -bam RGB_RLP_lowDV_1ststrand_42C_3.md.bam -bed RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/RGB_RLP_lowDV_1ststrand_42C_3.md.depth.gz
saturation_plot       -bams RGB_RLP_lowDV_1ststrand_42C_3.md.bam       -region chr20       -output RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/saturation_plot.png       -threads 1 
seqtool saturation_metric       -at 1000000       -region chr20       -bam_threads 1       RGB_RLP_lowDV_1ststrand_42C_3.md.bam > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/saturation_qc.tsv 
fragment_size       -bams RGB_RLP_lowDV_1ststrand_42C_3.md.bam       -region chr20       -output_prefix RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/fragsize       -threads 1 
samtools mpileup   -B --min-MQ 60 --min-BQ 30    -f ref_genome.fa   -l dbsnp_hg38_contam_sites.bed   RGB_RLP_lowDV_1ststrand_42C_3.md.bam > RGB_RLP_lowDV_1ststrand_42C_3.md.mpileup && contamination -input RGB_RLP_lowDV_1ststrand_42C_3.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/contamination.tsv 
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
/opt/conda/lib/python3.9/site-packages/pyranges/__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
/opt/conda/lib/python3.9/site-packages/pyranges/__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai

0it [00:00, ?it/s]
133028it [00:00, 1330195.64it/s]
274393it [00:00, 1379253.05it/s]
415332it [00:00, 1392988.67it/s]
557971it [00:00, 1406152.81it/s]
700862it [00:00, 1414284.10it/s]
842335it [00:00, 1414417.81it/s]
983777it [00:00, 1414185.29it/s]
1126305it [00:00, 1417697.88it/s]
1268683it [00:00, 1419579.36it/s]
1412165it [00:01, 1424269.81it/s]
1554731it [00:01, 1424679.04it/s]
1698717it [00:01, 1429280.83it/s]
1841646it [00:01, 1426186.74it/s]
1985701it [00:01, 1430501.37it/s]
2129160it [00:01, 1431636.27it/s]
2272775it [00:01, 1432972.64it/s]
2416576it [00:01, 1434466.36it/s]
2560024it [00:01, 1434193.56it/s]
2703444it [00:01, 1431972.76it/s]
2846643it [00:02, 1427774.37it/s]
2990022it [00:02, 1429431.22it/s]
3132968it [00:02, 1426462.29it/s]
3277118it [00:02, 1430945.42it/s]
3421250it [00:02, 1433881.31it/s]
3566035it [00:02, 1438049.94it/s]
3709843it [00:02, 1434015.03it/s]
3853249it [00:02, 1429774.80it/s]
3996232it [00:02, 1425415.86it/s]
4138779it [00:02, 1425267.08it/s]
4283752it [00:03, 1432505.99it/s]
4427008it [00:03, 1432454.08it/s]
4570257it [00:03, 1431871.28it/s]
4713447it [00:03, 1430126.67it/s]
4856462it [00:03, 1407210.85it/s]
4997263it [00:03, 1374740.93it/s]
5134924it [00:03, 1310388.54it/s]
5266604it [00:03, 1287984.60it/s]
5405704it [00:03, 1317358.51it/s]
5548469it [00:03, 1349273.17it/s][W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai

5692728it [00:04, 1376425.47it/s]
5834373it [00:04, 1388201.59it/s]
5973474it [00:04, 1222633.25it/s]
6116427it [00:04, 1278675.39it/s]
6137477it [00:04, 1393437.53it/s]
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai






[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai


tabix -s 1 -b 2 -e 2 RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/RGB_RLP_lowDV_1ststrand_42C_3.md.depth.gz


seqtool depth_hist     -nbins 500     RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/RGB_RLP_lowDV_1ststrand_42C_3.md.depth.gz     > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/RGB_RLP_lowDV_1ststrand_42C_3.md.depth_hist.tsv


cat RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/RGB_RLP_lowDV_1ststrand_42C_3.md.depth_hist.tsv | plot         -x 0         -xlabel Depth -ylabel "Number of Sites"         -xlim 0 2000         -title RGB_RLP_lowDV_1ststrand_42C_3.md         -output RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/RGB_RLP_lowDV_1ststrand_42C_3.md.depth.png


[W::hts_idx_load3] The index file is older than the data file: Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi


seqtool read_qc    -bed Twist_rna_exome_AND_fusion_hg38.bed     -n_threads 1     -bam_threads 2     RGB_RLP_lowDV_1ststrand_42C_3.md.bam > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/read_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv
seqtool reads_per_target     -bed Twist_rna_exome_AND_fusion_hg38.bed     -threads 1     -bam_threads 2     RGB_RLP_lowDV_1ststrand_42C_3.md.bam > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/reads_per_target.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
seqtool depth_stats  -bed Twist_rna_exome_AND_fusion_hg38.bed  RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/RGB_RLP_lowDV_1ststrand_42C_3.md.depth.gz> RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/depth_stats.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
seqtool gc_bias  -reference ref_genome.fa  -bed Twist_rna_exome_AND_fusion_hg38.bed  -bin_size 0.05  -threads 1  -bam_threads 2  RGB_RLP_lowDV_1ststrand_42C_3.md.bam  > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_42C_3.md.bai






cat RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv  | plot -x 0  -header infer  -ylim 0 2  -title "RGB_RLP_lowDV_1ststrand_42C_3.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/gc_bias.Twist_rna_exome_AND_fusion_hg38.bed.png"  -ylabel "Fold enrichment / depletion"  -xlabel "GC Quantile" 




echo `date` > RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md/qc_complete.txt


+ merge_qc -folders RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3.md -output RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3_full_basic_stats.tsv
+ head -n1 RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed RGB_RLP_lowDV_1ststrand_42C_3/RGB_RLP_lowDV_1ststrand_42C_3_full_basic_stats.tsv