File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/39/5d873ee0b66734ef62359fb4c8de23/.command.log
Size
11.8 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/4b/aaab7358ac0ec2ba7b0d14b36610d2/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.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/39/5d873ee0b66734ef62359fb4c8de23/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/4b/aaab7358ac0ec2ba7b0d14b36610d2/aih-tih-sc-8b9375-R1_B23WHYVLT4_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-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/gatk4/dbsnp_hg38_contam_sites.bed
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/39/5d873ee0b66734ef62359fb4c8de23/.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 aih-tih-sc-8b9375-R1_B23WHYVLT4_1
+ all_qc -bam aih-tih-sc-8b9375-R1_B23WHYVLT4_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 aih-tih-sc-8b9375-R1_B23WHYVLT4_1 -reference ref_genome.fa -region chr20
mkdir -p aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/full_bed.bed


seqtool depth -bam aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bam -bed aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.depth.gz
saturation_plot       -bams aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bam       -region chr20       -output aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/saturation_plot.png       -threads 1 
seqtool saturation_metric       -at 1000000       -region chr20       -bam_threads 1       aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/saturation_qc.tsv 
fragment_size       -bams aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bam       -region chr20       -output_prefix aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/fragsize       -threads 1 
samtools mpileup   -B --min-MQ 60 --min-BQ 30    -f ref_genome.fa   -l dbsnp_hg38_contam_sites.bed   aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.mpileup && contamination -input aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/contamination.tsv 
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_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: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai

0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai

147523it [00:00, 1475150.52it/s]
312082it [00:00, 1575224.34it/s]
478988it [00:00, 1618040.98it/s]
646447it [00:00, 1640339.03it/s]
814031it [00:00, 1653112.50it/s]
982526it [00:00, 1663828.12it/s]
1150664it [00:00, 1669545.53it/s]
1320710it [00:00, 1679295.41it/s]
1490744it [00:00, 1685855.42it/s]
1659330it [00:01, 1676792.69it/s]
1827020it [00:01, 1639110.92it/s]
1993265it [00:01, 1645997.78it/s]
2158002it [00:01, 1639447.14it/s]
2332113it [00:01, 1669765.34it/s]
2502235it [00:01, 1679141.16it/s]
2670849it [00:01, 1681213.07it/s]
2839831it [00:01, 1683766.87it/s]
3010708it [00:01, 1691230.85it/s]
3179862it [00:01, 1674499.76it/s]
3347368it [00:02, 1659895.89it/s]
3517296it [00:02, 1671558.97it/s]
3686594it [00:02, 1677890.86it/s]
3854551it [00:02, 1678357.60it/s]
4022418it [00:02, 1677374.78it/s]
4190177it [00:02, 1674012.04it/s]
4358562it [00:02, 1676909.93it/s]
4526265it [00:02, 1675533.49it/s]
4693827it [00:02, 1674085.85it/s]
4861242it [00:02, 1670149.88it/s]
5031056it [00:03, 1678413.41it/s]
5198904it [00:03, 1674346.45it/s]
5366345it [00:03, 1654424.93it/s]
5534672it [00:03, 1662959.29it/s]
5703164it [00:03, 1669473.53it/s]
5873001it [00:03, 1678072.03it/s]
6042432it [00:03, 1682809.47it/s]
6210807it [00:03, 1682925.69it/s]
6379317it [00:03, 1683517.11it/s]
6547681it [00:03, 1682201.46it/s]
6715910it [00:04, 1666823.66it/s]
6882628it [00:04, 1661830.27it/s]
7051590it [00:04, 1669959.01it/s]
7220023it [00:04, 1674217.19it/s]
7389512it [00:04, 1680358.29it/s]
7560762it [00:04, 1689946.05it/s]
7730571it [00:04, 1692357.44it/s]
7900347it [00:04, 1693949.97it/s]
8069749it [00:04, 1686755.00it/s]
8239712it [00:04, 1690582.28it/s]
8409550it [00:05, 1692865.39it/s]
8581420it [00:05, 1700570.68it/s]
8753192it [00:05, 1705676.48it/s]
8923765it [00:05, 1682718.42it/s]
9095061it [00:05, 1691541.65it/s]
9265616it [00:05, 1695695.30it/s]
9435230it [00:05, 1541993.09it/s]
9592098it [00:05, 1543935.12it/s]
9761238it [00:05, 1585878.57it/s]
9929006it [00:05, 1612393.12it/s]
10098954it [00:06, 1637824.03it/s]
10269194it [00:06, 1656825.34it/s]
10439140it [00:06, 1669432.53it/s]
10606563it [00:06, 1670241.24it/s]
10775708it [00:06, 1676494.33it/s]
10944927it [00:06, 1681158.78it/s]
11113213it [00:06, 1680350.22it/s]
11288925it [00:06, 1703295.39it/s]
11461046it [00:06, 1708638.75it/s]
11631974it [00:06, 1700905.56it/s]
11802117it [00:07, 1697875.08it/s]
11971941it [00:07, 1692453.19it/s]
12141214it [00:07, 1690148.10it/s]
12311824it [00:07, 1694887.59it/s]
12481329it [00:07, 1693149.00it/s]
12651237it [00:07, 1694882.27it/s]
12820734it [00:07, 1690596.60it/s][W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai

12989801it [00:07, 1690385.24it/s]
13007478it [00:07, 1670645.88it/s]


[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai




[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai


tabix -s 1 -b 2 -e 2 aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.depth.gz


seqtool depth_hist     -nbins 500     aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.depth.gz     > aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.depth_hist.tsv


cat aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.depth_hist.tsv | plot         -x 0         -xlabel Depth -ylabel "Number of Sites"         -xlim 0 2000         -title aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md         -output aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/aih-tih-sc-8b9375-R1_B23WHYVLT4_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     aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_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     aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/reads_per_target.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
seqtool depth_stats  -bed Twist_rna_exome_AND_fusion_hg38.bed  aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md/aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.depth.gz> aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_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  aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bam  > aih-tih-sc-8b9375-R1_B23WHYVLT4_1/aih-tih-sc-8b9375-R1_B23WHYVLT4_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: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8b9375-R1_B23WHYVLT4_1.md.bai