File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/74/7b503fcf1df6734acafd7aead69c73/.command.log
Size
13.5 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/56/00f6f55e17af48e3608f4727041294/659_bTo-T1-TRNA-1_B23MHV2LT4_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/74/7b503fcf1df6734acafd7aead69c73/.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/74/7b503fcf1df6734acafd7aead69c73/.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-rnd-pltf-dev-nextflow-scratch-01/work/56/00f6f55e17af48e3608f4727041294/659_bTo-T1-TRNA-1_B23MHV2LT4_1.md.bai
  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_B23MHV2LT4_1
+ all_qc -bam 659_bTo-T1-TRNA-1_B23MHV2LT4_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 659_bTo-T1-TRNA-1_B23MHV2LT4_1 -reference ref_genome.fa -region chr20
mkdir -p 659_bTo-T1-TRNA-1_B23MHV2LT4_1/659_bTo-T1-TRNA-1_B23MHV2LT4_1.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_B23MHV2LT4_1/659_bTo-T1-TRNA-1_B23MHV2LT4_1.md/full_bed.bed


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

0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: 659_bTo-T1-TRNA-1_B23MHV2LT4_1.md.bai

91768it [00:00, 917588.99it/s]
197778it [00:00, 1001362.77it/s]
297915it [00:00, 978592.32it/s] 
409102it [00:00, 1030445.28it/s]
514245it [00:00, 1037840.70it/s]
622911it [00:00, 1054306.91it/s]
753886it [00:00, 1137449.69it/s]
889607it [00:00, 1207183.90it/s]
1012038it [00:00, 1212497.99it/s]
1133337it [00:01, 1210223.28it/s]
1254394it [00:01, 1198704.24it/s]
1386348it [00:01, 1235126.31it/s]
1509923it [00:01, 1194961.26it/s]
1629724it [00:01, 1194302.77it/s]
1762173it [00:01, 1232733.19it/s]
1897918it [00:01, 1269713.74it/s]
2025100it [00:01, 1262416.86it/s]
2166854it [00:01, 1308467.83it/s]
2305291it [00:01, 1330917.37it/s]
2442826it [00:02, 1344160.70it/s]
2579710it [00:02, 1351517.39it/s]
2717270it [00:02, 1358699.95it/s]
2853192it [00:02, 1296771.37it/s]
2983492it [00:02, 1216568.01it/s]
3133031it [00:02, 1294485.73it/s]
3278010it [00:02, 1338782.31it/s]
3429379it [00:02, 1389337.12it/s]
3581486it [00:02, 1427755.84it/s]
3725096it [00:02, 1401243.13it/s]
3865882it [00:03, 1399482.57it/s]
4012727it [00:03, 1419602.99it/s]
4155051it [00:03, 1390645.10it/s]
4294468it [00:03, 1388763.27it/s]
4433588it [00:03, 1384158.84it/s]
4572170it [00:03, 1363688.86it/s]
4714378it [00:03, 1380797.04it/s]
4852605it [00:03, 1357966.69it/s]
4988559it [00:03, 1353418.61it/s]
5124004it [00:04, 1303645.88it/s]
5254760it [00:04, 1288036.56it/s]
5399615it [00:04, 1334411.19it/s]
5544115it [00:04, 1366702.19it/s]
5692770it [00:04, 1401921.12it/s]
5841743it [00:04, 1427826.02it/s]
5988012it [00:04, 1438170.05it/s]
6132009it [00:04, 1435312.27it/s]
6275666it [00:04, 1419504.07it/s]
6417736it [00:04, 1375143.85it/s]
6556882it [00:05, 1379860.99it/s]
6702655it [00:05, 1402562.71it/s]
6843139it [00:05, 1401686.95it/s]
6986971it [00:05, 1412528.03it/s]
7130220it [00:05, 1418447.12it/s]
7272156it [00:05, 1319498.79it/s]
7414498it [00:05, 1348973.19it/s]
7566858it [00:05, 1399329.81it/s]
7707802it [00:05, 1355482.66it/s]
7854893it [00:05, 1388616.38it/s]
7994548it [00:06, 1378105.43it/s]
8132905it [00:06, 1274310.36it/s]
8262093it [00:06, 1211742.23it/s]
8384814it [00:06, 1136323.64it/s]
8500021it [00:06, 1138185.82it/s]
8614963it [00:06, 1138240.55it/s]
8729574it [00:06, 1137307.46it/s]
8844462it [00:06, 1140608.25it/s]
8958920it [00:06, 1140981.71it/s]
9073298it [00:07, 1138309.13it/s]
9187452it [00:07, 1139165.19it/s]
9301504it [00:07, 1121622.45it/s]
9413803it [00:07, 1118560.06it/s]
9525751it [00:07, 1106187.27it/s]
9638611it [00:07, 1112603.70it/s]
9751837it [00:07, 1118394.09it/s]
9868822it [00:07, 1133659.01it/s]
9982241it [00:07, 1103287.03it/s]
10095550it [00:07, 1111997.62it/s]
10206910it [00:08, 1094685.52it/s]
10321669it [00:08, 1110165.23it/s]
10434417it [00:08, 1115252.37it/s]
10548549it [00:08, 1122960.81it/s]
10660929it [00:08, 1114106.90it/s]
10773670it [00:08, 1118026.97it/s]
10886802it [00:08, 1121959.61it/s]
10999038it [00:08, 1117904.22it/s]
11110858it [00:08, 1116400.54it/s]
11225653it [00:08, 1125788.16it/s]
11339633it [00:09, 1129949.79it/s]
11455864it [00:09, 1139605.34it/s]
11571206it [00:09, 1143718.30it/s]
11685588it [00:09, 1137203.84it/s]
11800088it [00:09, 1139503.79it/s]
11914050it [00:09, 1135845.59it/s]
12027645it [00:09, 1127186.11it/s]
12140382it [00:09, 1121088.49it/s]
12252506it [00:09, 1120980.59it/s]
12367152it [00:09, 1128405.00it/s]
12481797it [00:10, 1133768.93it/s]
12596614it [00:10, 1137987.45it/s]
12710423it [00:10, 1134187.03it/s]
12826762it [00:10, 1142846.07it/s]
12943837it [00:10, 1151174.09it/s]
13058964it [00:10, 1149898.93it/s]
13173961it [00:10, 1147725.41it/s]
13288739it [00:10, 1142311.47it/s]
13402978it [00:10, 1140409.96it/s]
13517025it [00:10, 1138271.61it/s]
13548611it [00:11, 1230208.99it/s]


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




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


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


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


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






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


+ merge_qc -folders 659_bTo-T1-TRNA-1_B23MHV2LT4_1/659_bTo-T1-TRNA-1_B23MHV2LT4_1.md -output 659_bTo-T1-TRNA-1_B23MHV2LT4_1/659_bTo-T1-TRNA-1_B23MHV2LT4_1_full_basic_stats.tsv
+ head -n1 659_bTo-T1-TRNA-1_B23MHV2LT4_1/659_bTo-T1-TRNA-1_B23MHV2LT4_1_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_B23MHV2LT4_1/659_bTo-T1-TRNA-1_B23MHV2LT4_1_full_basic_stats.tsv