File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/fb/ae937f4b4d84a9b30dc9f80fe7fa6b/.command.log
Size
11.7 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/81/01bc5c520730167950720409030b9c/659_buD-T1-TRNA-1_A23MVY2LT4_2.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/fb/ae937f4b4d84a9b30dc9f80fe7fa6b/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/81/01bc5c520730167950720409030b9c/659_buD-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-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/gatk4/dbsnp_hg38_contam_sites.bed
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/fb/ae937f4b4d84a9b30dc9f80fe7fa6b/.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_buD-T1-TRNA-1_A23MVY2LT4_2
+ all_qc -bam 659_buD-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_buD-T1-TRNA-1_A23MVY2LT4_2 -reference ref_genome.fa -region chr20
mkdir -p 659_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-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_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-T1-TRNA-1_A23MVY2LT4_2.md/full_bed.bed


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

0it [00:00, ?it/s]
160549it [00:00, 1605414.98it/s]
330459it [00:00, 1660479.44it/s]
503534it [00:00, 1692533.23it/s]
676725it [00:00, 1707956.80it/s]
851032it [00:00, 1720552.11it/s]
1025501it [00:00, 1728740.81it/s]
1198454it [00:00, 1728981.82it/s]
1371353it [00:00, 1728099.63it/s]
1544164it [00:00, 1726012.40it/s]
1720639it [00:01, 1737938.41it/s]
1894435it [00:01, 1728425.73it/s]
2067290it [00:01, 1726496.47it/s]
2240644it [00:01, 1728431.01it/s]
2413494it [00:01, 1723005.31it/s]
2585956it [00:01, 1723335.10it/s]
2758437it [00:01, 1723757.26it/s]
2930817it [00:01, 1720449.68it/s]
3104065it [00:01, 1724036.57it/s]
3276472it [00:01, 1721091.39it/s]
3448585it [00:02, 1700204.64it/s]
3620754it [00:02, 1706569.62it/s]
3791941it [00:02, 1708083.78it/s]
3963054it [00:02, 1708974.24it/s]
4133975it [00:02, 1708303.63it/s]
4306547it [00:02, 1713469.76it/s]
4479027it [00:02, 1716795.45it/s]
4652502it [00:02, 1722155.31it/s]
4824725it [00:02, 1718595.94it/s]
4996592it [00:02, 1694269.00it/s]
5169050it [00:03, 1703238.27it/s]
5343623it [00:03, 1715865.46it/s]
5517142it [00:03, 1721612.17it/s]
5690315it [00:03, 1724617.53it/s]
5862808it [00:03, 1722462.00it/s]
6035076it [00:03, 1707873.17it/s]
6205903it [00:03, 1698809.04it/s]
6375816it [00:03, 1696936.59it/s]
6545531it [00:03, 1688222.01it/s]
6714373it [00:03, 1627139.72it/s]
6877532it [00:04, 1615636.54it/s]
7047604it [00:04, 1640423.86it/s]
7211925it [00:04, 1621338.39it/s]
7378692it [00:04, 1634873.47it/s]
7547437it [00:04, 1650380.05it/s]
7717949it [00:04, 1666601.73it/s]
7888016it [00:04, 1676693.11it/s]
8056883it [00:04, 1680178.51it/s]
8226385it [00:04, 1684598.55it/s]
8396074it [00:04, 1688259.55it/s]
8567778it [00:05, 1696853.39it/s]
8739225it [00:05, 1702111.04it/s]
8909456it [00:05, 1702129.80it/s]
9079683it [00:05, 1698254.00it/s]
9250670it [00:05, 1699727.15it/s]
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_2.md.bai




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


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


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


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


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






cat 659_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-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_buD-T1-TRNA-1_A23MVY2LT4_2.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "659_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-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_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-T1-TRNA-1_A23MVY2LT4_2.md/qc_complete.txt


+ merge_qc -folders 659_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-T1-TRNA-1_A23MVY2LT4_2.md -output 659_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-T1-TRNA-1_A23MVY2LT4_2_full_basic_stats.tsv
+ head -n1 659_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-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_buD-T1-TRNA-1_A23MVY2LT4_2/659_buD-T1-TRNA-1_A23MVY2LT4_2_full_basic_stats.tsv