File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/b5/06d56f62649c576da3777e0cd73685/.command.log
Size
12.0 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/b5/06d56f62649c576da3777e0cd73685/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/9a/59552f72ee1d2688e9ac55ee40bd30/aih-tih-sc-8a623b-R1_B23WHYVLT4_1.md.bai
  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/9a/59552f72ee1d2688e9ac55ee40bd30/aih-tih-sc-8a623b-R1_B23WHYVLT4_1.md.bam
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/b5/06d56f62649c576da3777e0cd73685/.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-8a623b-R1_B23WHYVLT4_1
+ all_qc -bam aih-tih-sc-8a623b-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-8a623b-R1_B23WHYVLT4_1 -reference ref_genome.fa -region chr20
mkdir -p aih-tih-sc-8a623b-R1_B23WHYVLT4_1/aih-tih-sc-8a623b-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-8a623b-R1_B23WHYVLT4_1/aih-tih-sc-8a623b-R1_B23WHYVLT4_1.md/full_bed.bed


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

0it [00:00, ?it/s]
158540it [00:00, 1585314.58it/s]
320084it [00:00, 1603006.70it/s]
490967it [00:00, 1651305.94it/s]
663546it [00:00, 1680687.71it/s]
835952it [00:00, 1696306.43it/s]
1008564it [00:00, 1706426.79it/s]
1180696it [00:00, 1711129.45it/s]
1354940it [00:00, 1721077.36it/s]
1527048it [00:00, 1706149.21it/s]
1697691it [00:01, 1692965.97it/s]
1869147it [00:01, 1699357.12it/s]
2039113it [00:01, 1676573.74it/s]
2210086it [00:01, 1686439.34it/s]
2383775it [00:01, 1701359.90it/s]
2558246it [00:01, 1714299.09it/s]
2730742it [00:01, 1717454.68it/s]
2903324it [00:01, 1719921.35it/s]
3078926it [00:01, 1730575.63it/s]
3252005it [00:01, 1703411.29it/s]
3422453it [00:02, 1678031.12it/s]
3592580it [00:02, 1684835.45it/s]
3764671it [00:02, 1695479.01it/s]
3936757it [00:02, 1702992.00it/s]
4110397it [00:02, 1712913.18it/s]
4282479it [00:02, 1715171.06it/s]
4455318it [00:02, 1719088.80it/s]
4629980it [00:02, 1727277.96it/s]
4802730it [00:02, 1699433.23it/s]
4972786it [00:02, 1690598.03it/s]
5141925it [00:03, 1652986.99it/s]
5316788it [00:03, 1680949.04it/s]
5490020it [00:03, 1696062.10it/s]
5659907it [00:03, 1696858.72it/s]
5829716it [00:03, 1671819.56it/s]
6001071it [00:03, 1684100.55it/s]
6169607it [00:03, 1667840.21it/s]
6340380it [00:03, 1679600.12it/s]
6510184it [00:03, 1685042.89it/s]
6682234it [00:03, 1695573.47it/s]
6852437it [00:04, 1697407.76it/s]
7022219it [00:04, 1670530.40it/s]
7189388it [00:04, 1665051.79it/s]
7355972it [00:04, 1659624.16it/s]
7526222it [00:04, 1672316.70it/s]
7693505it [00:04, 1639168.46it/s]
7863759it [00:04, 1657778.86it/s]
8029686it [00:04, 1630354.20it/s]
8197368it [00:04, 1643894.49it/s]
8365918it [00:04, 1656163.91it/s]
8531659it [00:05, 1641630.47it/s]
8702545it [00:05, 1661493.37it/s]
8875691it [00:05, 1682249.88it/s]
9044006it [00:05, 1641993.48it/s]
9216716it [00:05, 1666942.54it/s]
9385643it [00:05, 1673508.08it/s]
9553167it [00:05, 1665833.22it/s]
9721337it [00:05, 1670514.27it/s]
9888479it [00:05, 1647306.76it/s]
10053330it [00:05, 1634903.81it/s]
10222936it [00:06, 1652922.54it/s]
10388320it [00:06, 1652046.77it/s]
10561533it [00:06, 1675839.13it/s]
10729182it [00:06, 1660586.94it/s]
10902240it [00:06, 1681334.81it/s]
11070444it [00:06, 1612596.37it/s]
11233076it [00:06, 1616539.54it/s]
11405868it [00:06, 1649118.63it/s][W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8a623b-R1_B23WHYVLT4_1.md.bai

11574363it [00:06, 1659555.36it/s]
11740609it [00:07, 1641374.65it/s]
11904976it [00:07, 1630916.88it/s]
12071160it [00:07, 1640009.32it/s]
12235288it [00:07, 1625438.54it/s]
12397936it [00:07, 1615437.72it/s]
12564721it [00:07, 1630809.67it/s]
12731517it [00:07, 1641811.38it/s]
12900628it [00:07, 1656456.64it/s]
13076195it [00:07, 1686040.59it/s]
13250491it [00:07, 1703022.89it/s]
13420837it [00:08, 1666712.57it/s]
13587704it [00:08, 1650037.32it/s]
13760054it [00:08, 1671535.83it/s]
13927354it [00:08, 1634296.90it/s]
14094355it [00:08, 1644709.74it/s]
14240511it [00:08, 1670551.13it/s]
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-8a623b-R1_B23WHYVLT4_1.md.bai


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


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


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


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


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


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