File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/9f/cc89b3a9e3accb72a21b65281a7fde/.command.log
Size
12.6 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/9f/cc89b3a9e3accb72a21b65281a7fde/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/4f/ce08b0e655d0c21a5a0d655299e970/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
  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/4f/ce08b0e655d0c21a5a0d655299e970/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bam
  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/9f/cc89b3a9e3accb72a21b65281a7fde/.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 659_bTo-T1-TRNA-1_A23MVY2LT4_2
+ all_qc -bam 659_bTo-T1-TRNA-1_A23MVY2LT4_2.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 659_bTo-T1-TRNA-1_A23MVY2LT4_2 -reference ref_genome.fa -region chr20
mkdir -p 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/full_bed.bed


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

0it [00:00, ?it/s]
148838it [00:00, 1488317.55it/s]
314021it [00:00, 1584236.18it/s]
485286it [00:00, 1642840.67it/s]
657713it [00:00, 1674962.79it/s]
829221it [00:00, 1689250.52it/s]
1000416it [00:00, 1696950.22it/s]
1173947it [00:00, 1709473.18it/s]
1344895it [00:00, 1707932.02it/s]
1519113it [00:00, 1718613.96it/s]
1692748it [00:01, 1724070.92it/s]
1865156it [00:01, 1716122.67it/s]
2038888it [00:01, 1722380.11it/s]
2212314it [00:01, 1725912.11it/s]
2384912it [00:01, 1722961.67it/s]
2557214it [00:01, 1714344.35it/s]
2732417it [00:01, 1725611.99it/s]
2904993it [00:01, 1720821.17it/s]
3077087it [00:01, 1715833.87it/s]
3251335it [00:01, 1723774.81it/s]
3423723it [00:02, 1714882.01it/s]
3595226it [00:02, 1714415.74it/s]
3766678it [00:02, 1700534.79it/s]
3937876it [00:02, 1703746.02it/s]
4108273it [00:02, 1701009.10it/s]
4279481it [00:02, 1704208.54it/s]
4449914it [00:02, 1693932.15it/s]
4619326it [00:02, 1692227.69it/s]
4788562it [00:02, 1633413.28it/s]
4952326it [00:02, 1591214.88it/s]
5119502it [00:03, 1614414.49it/s]
5288676it [00:03, 1636921.95it/s]
5458261it [00:03, 1654241.55it/s]
5627136it [00:03, 1664334.92it/s]
5798206it [00:03, 1677998.12it/s]
5966163it [00:03, 1675288.18it/s]
6133801it [00:03, 1675253.35it/s]
6302798it [00:03, 1679611.02it/s]
6470815it [00:03, 1645736.77it/s]
6635571it [00:03, 1562012.52it/s]
6800588it [00:04, 1587021.33it/s]
6971193it [00:04, 1621380.17it/s]
7138207it [00:04, 1635640.50it/s]
7312425it [00:04, 1667037.90it/s]
7484523it [00:04, 1682984.73it/s]
7656694it [00:04, 1694491.80it/s]
7827651it [00:04, 1698904.45it/s]
7999242it [00:04, 1703973.14it/s]
8169751it [00:04, 1701157.04it/s]
8340746it [00:04, 1703772.00it/s]
8511179it [00:05, 1692843.10it/s]
8681326it [00:05, 1695395.09it/s]
8851459it [00:05, 1697153.78it/s]
9021203it [00:05, 1684868.85it/s]
9189727it [00:05, 1678594.77it/s]
9359874it [00:05, 1685392.77it/s]
9530074it [00:05, 1690278.61it/s]
9704441it [00:05, 1706221.67it/s]
9876621it [00:05, 1710865.97it/s]
10047723it [00:05, 1707268.31it/s]
10220195it [00:06, 1712474.90it/s]
10391453it [00:06, 1697106.74it/s]
10562014it [00:06, 1699622.90it/s]
10732104it [00:06, 1699988.72it/s]
10902122it [00:06, 1691094.61it/s]
11074003it [00:06, 1699341.25it/s]
11243957it [00:06, 1699223.23it/s]
11413894it [00:06, 1698611.21it/s]
11583786it [00:06, 1698688.34it/s]
11753662it [00:06, 1693820.77it/s]
11923052it [00:07, 1693360.84it/s]
12092393it [00:07, 1690932.97it/s]
12261490it [00:07, 1686076.14it/s]
12430883it [00:07, 1688409.06it/s]
12600983it [00:07, 1692153.45it/s]
12774592it [00:07, 1705293.42it/s]
12945127it [00:07, 1701791.84it/s]
13116197it [00:07, 1704442.54it/s]
13286646it [00:07, 1701872.47it/s]
13385298it [00:07, 1686771.72it/s]
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai




[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai


[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai


tabix -s 1 -b 2 -e 2 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.depth.gz


seqtool depth_hist     -nbins 500     659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.depth.gz     > 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.depth_hist.tsv


cat 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.depth_hist.tsv | plot         -x 0         -xlabel Depth -ylabel "Number of Sites"         -xlim 0 2000         -title 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md         -output 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/659_bTo-T1-TRNA-1_A23MVY2LT4_2.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     659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bam > 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.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     659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bam > 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/reads_per_target.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
seqtool depth_stats  -bed Twist_rna_exome_AND_fusion_hg38.bed  659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.depth.gz> 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.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  659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bam  > 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.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: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_A23MVY2LT4_2.md.bai






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




echo `date` > 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md/qc_complete.txt


+ merge_qc -folders 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2.md -output 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2_full_basic_stats.tsv
+ head -n1 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed 659_bTo-T1-TRNA-1_A23MVY2LT4_2/659_bTo-T1-TRNA-1_A23MVY2LT4_2_full_basic_stats.tsv