File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/3d/d75f8abda616ffb300becb624f1cad/.command.log
Size
9.9 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/38/216c310dd8521033ff4e9dcaee35fe/aih-tih-sc-b93682-R1_B23WHYVLT4_1.md.bam
  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/3d/d75f8abda616ffb300becb624f1cad/.command.sh
  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/3d/d75f8abda616ffb300becb624f1cad/.command.run
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/38/216c310dd8521033ff4e9dcaee35fe/aih-tih-sc-b93682-R1_B23WHYVLT4_1.md.bai
  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-b93682-R1_B23WHYVLT4_1
+ all_qc -bam aih-tih-sc-b93682-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-b93682-R1_B23WHYVLT4_1 -reference ref_genome.fa -region chr20
mkdir -p aih-tih-sc-b93682-R1_B23WHYVLT4_1/aih-tih-sc-b93682-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-b93682-R1_B23WHYVLT4_1/aih-tih-sc-b93682-R1_B23WHYVLT4_1.md/full_bed.bed


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

0it [00:00, ?it/s]
113878it [00:00, 1138705.07it/s]
277275it [00:00, 1429885.91it/s]
433019it [00:00, 1488102.10it/s]
602639it [00:00, 1570231.00it/s]
767479it [00:00, 1598398.07it/s]
936559it [00:00, 1629657.00it/s]
1106087it [00:00, 1651060.42it/s]
1274839it [00:00, 1662621.56it/s]
1441102it [00:00, 1661288.76it/s]
1610583it [00:01, 1671487.81it/s]
1784025it [00:01, 1690719.82it/s]
1953099it [00:01, 1677634.73it/s]
2120886it [00:01, 1653471.96it/s]
2291694it [00:01, 1669717.16it/s]
2462748it [00:01, 1681774.67it/s]
2631462it [00:01, 1683365.66it/s]
2801501it [00:01, 1688445.88it/s]
2970382it [00:01, 1684314.04it/s]
3138840it [00:01, 1682330.65it/s]
3307092it [00:02, 1668800.74it/s]
3476519it [00:02, 1676301.93it/s]
3647007it [00:02, 1684795.40it/s]
3816204it [00:02, 1686926.76it/s]
3984916it [00:02, 1668476.81it/s]
4151818it [00:02, 1649458.21it/s]
4324231it [00:02, 1671510.41it/s]
4492855it [00:02, 1675863.66it/s]
4663218it [00:02, 1684114.03it/s]
4832256it [00:02, 1685965.46it/s]
5004732it [00:03, 1697544.17it/s]
5174516it [00:03, 1689642.17it/s]
5343508it [00:03, 1669759.45it/s]
5513439it [00:03, 1678484.54it/s]
5684052it [00:03, 1686676.06it/s]
5855110it [00:03, 1693773.18it/s]
6026179it [00:03, 1698697.11it/s]
6196464it [00:03, 1699766.45it/s]
6366460it [00:03, 1699240.31it/s]
6536398it [00:03, 1695516.37it/s]
6705961it [00:04, 1689803.98it/s]
6877254it [00:04, 1696690.62it/s]
7048102it [00:04, 1700167.50it/s]
7218127it [00:04, 1694827.94it/s]
7387619it [00:04, 1691856.35it/s]
7556811it [00:04, 1675642.20it/s]
7725247it [00:04, 1678156.11it/s]
7893763it [00:04, 1680123.23it/s]
8064478it [00:04, 1688175.55it/s]
8235889it [00:04, 1695914.92it/s]
8408335it [00:05, 1704442.00it/s]
8579611it [00:05, 1706919.18it/s]
8752543it [00:05, 1713616.27it/s]
8923912it [00:05, 1694476.00it/s]
9093412it [00:05, 1691656.90it/s]
9262613it [00:05, 1680379.41it/s]
9433074it [00:05, 1687559.36it/s]
9601861it [00:05, 1675052.39it/s]
9769402it [00:05, 1638530.40it/s]
9933425it [00:05, 1555132.81it/s]
10089803it [00:06, 1500892.03it/s]
10240681it [00:06, 1443471.22it/s]
10388601it [00:06, 1453295.28it/s]
10534521it [00:06, 1386873.07it/s]
10681662it [00:06, 1410467.64it/s]
10719000it [00:06, 1640260.19it/s]


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




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


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


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


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