File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/3b/2c80accf29eb824074067c593be051/.command.log
Size
11.2 KB
Attempt
  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/3b/2c80accf29eb824074067c593be051/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/7b/72f40420096f172134b4d904fb2559/RGB_RLP_lowDV_1ststrand_27C_1.md.bam
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.dict
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/7b/72f40420096f172134b4d904fb2559/RGB_RLP_lowDV_1ststrand_27C_1.md.bai
  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/3b/2c80accf29eb824074067c593be051/.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_27C_1
+ all_qc -bam RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1 -reference ref_genome.fa -region chr20
mkdir -p RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/full_bed.bed


saturation_plot       -bams RGB_RLP_lowDV_1ststrand_27C_1.md.bam       -region chr20       -output RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/saturation_plot.png       -threads 1 
seqtool depth -bam RGB_RLP_lowDV_1ststrand_27C_1.md.bam -bed RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/RGB_RLP_lowDV_1ststrand_27C_1.md.depth.gz
seqtool saturation_metric       -at 1000000       -region chr20       -bam_threads 1       RGB_RLP_lowDV_1ststrand_27C_1.md.bam > RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/saturation_qc.tsv 
fragment_size       -bams RGB_RLP_lowDV_1ststrand_27C_1.md.bam       -region chr20       -output_prefix RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1.md.bam > RGB_RLP_lowDV_1ststrand_27C_1.md.mpileup && contamination -input RGB_RLP_lowDV_1ststrand_27C_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/contamination.tsv 
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.md.bai

0it [00:00, ?it/s]
127296it [00:00, 1272861.07it/s]
254583it [00:00, 1109170.28it/s]
406996it [00:00, 1284553.95it/s]
554055it [00:00, 1354544.60it/s]
704621it [00:00, 1407373.75it/s]
846568it [00:00, 1370243.47it/s]
984524it [00:00, 1342557.79it/s]
1119443it [00:00, 1242160.51it/s]
1245250it [00:00, 1232774.75it/s]
1369568it [00:01, 1226946.66it/s]
1492953it [00:01, 1219258.40it/s]
1615333it [00:01, 1200243.74it/s]
1735670it [00:01, 1188598.15it/s]
1854729it [00:01, 1171748.03it/s]
1984285it [00:01, 1190154.82it/s]
2149504it [00:01, 1324343.84it/s]
2318097it [00:01, 1430312.05it/s]
2487094it [00:01, 1506951.57it/s]
2652742it [00:01, 1550965.01it/s]
2814376it [00:02, 1570033.39it/s]
2976171it [00:02, 1584296.36it/s]
3134851it [00:02, 1510414.66it/s]
3286773it [00:02, 1452173.38it/s]
3446796it [00:02, 1494084.49it/s]
3597100it [00:02, 1453593.69it/s]
3746221it [00:02, 1464227.99it/s]
3906116it [00:02, 1503262.74it/s]
4066650it [00:02, 1533136.34it/s]
4222643it [00:03, 1540999.36it/s]
4377070it [00:03, 1432959.88it/s]
4522037it [00:03, 1421061.50it/s]
4681673it [00:03, 1470992.94it/s]
4835224it [00:03, 1489565.38it/s]
4984985it [00:03, 1486453.89it/s][W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.md.bai

5134189it [00:03, 1481267.73it/s]
5282702it [00:03, 1467337.01it/s]
5429715it [00:03, 1373850.33it/s]
5570947it [00:03, 1384585.71it/s]
5733878it [00:04, 1454885.34it/s]
5895204it [00:04, 1500957.34it/s]
5983000it [00:04, 1406736.83it/s]
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.md.bai




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


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


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


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


cat RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/RGB_RLP_lowDV_1ststrand_27C_1.md.depth_hist.tsv | plot         -x 0         -xlabel Depth -ylabel "Number of Sites"         -xlim 0 2000         -title RGB_RLP_lowDV_1ststrand_27C_1.md         -output RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1.md.bam > RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1.md.bam > RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/RGB_RLP_lowDV_1ststrand_27C_1.md.depth.gz> RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1.md.bam  > RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: RGB_RLP_lowDV_1ststrand_27C_1.md.bai






cat RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.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_27C_1.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md/gc_bias.Twist_rna_exome_AND_fusion_hg38.bed.png"  -ylabel "Fold enrichment / depletion"  -xlabel "GC Quantile" 




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


+ merge_qc -folders RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1.md -output RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1_full_basic_stats.tsv
+ head -n1 RGB_RLP_lowDV_1ststrand_27C_1/RGB_RLP_lowDV_1ststrand_27C_1_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_27C_1/RGB_RLP_lowDV_1ststrand_27C_1_full_basic_stats.tsv