OSCR

The tangential growth of the human visual cortex and maternal smoking during pregnancy.

Code ↔ Paper

2 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 2 matches · all tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Materials and methods › Genotyping of rare variants ↔ bin/dataset_specific/extraction_snps_indels_SPARK_iWESv3.sh, the whole file · a weak match · score 0.83 · allele depth, genotype quality, gVCF, missing genotypes, Homozygous, DP
  2. [2] § Materials and methods › Genotyping of rare variants ↔ bin/dataset_specific/extraction_snps_indels_default.sh, the whole file · a weak match · score 0.82 · allele depth, genotype quality, gVCF, missing genotypes, Homozygous, DP

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Shell · 87 lines · 3.5 KB · Apache-2.0 · 1 match

  1. # Florian Bénitière - 21/03/2025
  2. # This script processes unique SPARK gVCF files to filter SNPs, INDELs, and non-homozygous ref sites.
  3. # It then retains only short variants (SNVs and Indels) that intersect between GATK and DeepVariant, preserving DeepVariant metadata in the output.
  4. #!/bin/bash
  5. # Exit immediately if a command exits with a non-zero status, if an undefined variable is used, or if a command in a pipeline fails
  6. set -euo pipefail
  7. # Define input arguments
  8. sample=$1 # Sample name
  9. input_gatk=$2 # Path to the GATK input file
  10. input_deepvariant=$3 # Path to the DeepVariant input file
  11. output=$4
  12. fasta_ref=$5
  13. cpu=${6:-$(nproc)} # Use provided CPU count or default to the number of available processors
  14. echo "Processing sample: ${sample}"
  15. echo "Threads used: ${cpu}"
  16. # Check if required input files exist before proceeding
  17. for file in "$input_gatk" "$input_deepvariant" "$fasta_ref"; do
  18. if [ ! -f "$file" ]; then
  19. echo "Error: File $file not found." >&2
  20. exit 1
  21. fi
  22. done
  23. # Check if required tools are installed (bcftools, tabix, bgzip)
  24. for cmd in bcftools tabix bgzip; do
  25. if ! command -v $cmd &> /dev/null; then
  26. echo "Error: $cmd is not installed." >&2
  27. exit 1
  28. fi
  29. done
  30. # Create a random temporary directory that is automatically cleaned up on exit
  31. tempdir_path=$(mktemp -d -t extraction_snps_indels_${sample}_XXXXXX)
  32. trap "rm -rf ${tempdir_path}" EXIT # Ensure cleanup on exit
  33. # Create a directory for storing intermediate and final files
  34. extension_path=${tempdir_path}${sample}
  35. # Extract and normalize SNPs/Indels from GATK, filter out homozygous ref and missing genotypes or missing metrics (DP=depth, AD=allele depth, GQ=genotype quality), and compress output
  36. bcftools view -v snps,indels --threads ${cpu} ${input_gatk} | \
  37. bcftools norm -m- --threads ${cpu} | \
  38. bcftools view -v snps,indels -e 'GT="0/0" || GT="0|0" || GT="./." || GT=".|." || FMT/DP="." || FMT/AD="." || FMT/GQ="."' --threads ${cpu} | \
  39. bcftools norm -f ${fasta_ref} --threads ${cpu} | \
  40. bcftools view -Oz -o ${extension_path}_gatk.vcf.gz
  41. # Index the compressed VCF file
  42. tabix -f ${extension_path}_gatk.vcf.gz
  43. # Extract and normalize SNPs/Indels from DeepVariant, filter out homozygous ref and missing genotypes or missing metrics (DP=depth, AD=allele depth, GQ=genotype quality), and compress output
  44. bcftools view -v snps,indels --threads ${cpu} ${input_deepvariant} | \
  45. bcftools norm -m- --threads ${cpu} | \
  46. bcftools view -v snps,indels -e 'GT="0/0" || GT="0|0" || GT="./." || GT=".|." || FMT/DP="." || FMT/AD="." || FMT/GQ="."' --threads ${cpu} | \
  47. bcftools norm -f ${fasta_ref} --threads ${cpu} | \
  48. bcftools view -Oz -o ${extension_path}_deepvariant.vcf.gz
  49. # Index the compressed VCF file
  50. tabix -f ${extension_path}_deepvariant.vcf.gz
  51. # Identify positions that are present in both DeepVariant and GATK results
  52. bcftools isec ${extension_path}_deepvariant.vcf.gz \
  53. ${extension_path}_gatk.vcf.gz \
  54. --threads ${cpu} -n=2 -w 1 -Oz -o ${extension_path}_shared_pos.vcf.gz
  55. # Extract variant information from the unique position VCF file and save as a tab-separated file
  56. (echo -e "CHROM\tPOS\tREF\tALT\tGT\tDP\tAD\tGQ"; \
  57. bcftools query -f '%CHROM\t%POS\t%REF\t%ALT\t[%GT\t%DP\t%AD\t%GQ]\n' ${extension_path}_shared_pos.vcf.gz) > \
  58. ${output%.gz}
  59. # Compress the TSV file
  60. bgzip -f ${output%.gz}
  61. # Print the number of lines in the compressed TSV file
  62. echo $(zcat ${output} | wc -l)
  63. # Print the count of unique genotype occurrences
  64. echo $(zcat ${output} | cut -f 5 | sort | uniq -c)

extraction_snps_indels_SPARK_iWESv3.sh at commit 6030cc9, under Apache-2.0 · at the source

Overview

Authors: Xavier Navarri1,2,3, Zhijie Liao1,4, James B Hengenius1, Florian Bénitière1, Sébastien Jacquemont1,5, Zdenka Pausova1,3,5, Tomáš Paus1,2,3,4
  1. CHU Sainte-Justine Research Centre, 3175 Chemin de la Côte-Sainte-Catherine, Montréal, QC H3T 1C5, Canada
  2. Department of Neuroscience, Université de Montréal, 2900 Edouard Montpetit Blvd, Montreal, Quebec H3T 1J4, Canada
  3. Barcelonaβeta Brain Research Center, Pasqual Maragall Foundation, Carrer de Wellington, 30, Sant Martí, 08005 Barcelona, Spain
  4. Department of Psychiatry and Addictology, Université de Montréal, 2900 Edouard Montpetit Blvd, Montreal, Quebec H3T 1J4, Canada
  5. Department of Pediatrics, Université de Montréal, 2900 Edouard Montpetit Blvd, Montreal, Quebec H3T 1J4, Canada
Journal: Cerebral cortex (New York, N.Y. : 1991), volume 36, issue 7, article bhag105
Dates: received 28 April 2026; accepted 19 June 2026; published online 10 August 2026; in print July 2026
Type: Research article · Language: English
License: CC BY-NC
Identifiers: DOI 10.1093/cercor/bhag105 · PMID 42574748 · PMCID PMC13456333 · OpenAlex W7202124813
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), other condition (population)
Methods: Statistics, Smoothing, state filtering, decompositions
Keywords: nicotine, prenatal exposure to maternal cigarette smoking, primary visual cortex, retinal waves
MeSH: Cigarette Smoking*, Prenatal Exposure Delayed Effects*, Visual Cortex*, Adolescent, Adult, Female, Humans, Male, Neurodevelopment, Pregnancy, Smoking, Young Adult (* major topic)
Topic: Nicotinic Acetylcholine Receptors Study (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: Sainte-Justine Foundation; Université de Montréal School of Graduate Studies; Canadian Institutes of Health Research (54015, MOP-86678, MOP-74623, MOP-79571)
Citations: not cited yet (Europe PMC); 60 references in the paper

Abstract

Exposure to maternal cigarette smoking in utero is a prenatal adversity due, in part, to the pharmacological effects of nicotine. During gestation, thalamocortical inputs—generated by cholinergic retinal waves—contribute to the development of the visual cortex (V1). First, we investigated the relationship between prenatal exposure to maternal cigarette smoking (PEMCS) and the tangential growth of V1. We observed a robust association between PEMCS and V1 surface area in the UK Biobank (n = 26,987 adults, 30% exposed) and replicated this relationship in the Saguenay Youth Study (n = 944 adolescents, 47% exposed). Subsequent in silico analyses suggested that PEMCS may influence V1 prenatal growth by disrupting the proliferation of intermediate progenitor cells and inhibitory neurons. Second, we explored the role of cholinergic retinal waves as a mechanistic pathway underlying this exposure–outcome relationship. To do so, we used causal variants in genes sensitive to retinal waves (identified in retinal ganglion cells). These variants were related to V1 surface area only among exposed individuals; deletions in these genes and putative loss-of-function single-nucleotide variants were associated with lower V1 surface area. These results suggest that PEMCS influences the prenatal tangential growth of the human V1 via the retina.

Reproduced under the paper's license (CC BY-NC), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.

Zenodo 16268986

License: Apache-2.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the text, “Genotyping of rare variants”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: pandas (8 files), BCFtools (3 files), Matplotlib (2 files), SAMtools (2 files), Snakemake (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
24 files

jacquemontlab/shortvariants-annotation

License: Apache-2.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 6030cc900fd5db77ceee815ec37af902806e0371, 29 June 2026
Languages: Shell (14), Python (8)
Size: 60 files, 22 scripts
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README, license file, continuous integration
Not found: CITATION.cff, environment file, tests, documentation
Tools: pandas (8 files), BCFtools (3 files), Matplotlib (2 files), SAMtools (1 file), Snakemake (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
24 files

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 44 scripts, each with its path and the digest of its content;
  • 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Data availability

UKB data is available upon request (https://www.ukbiobank.ac.uk/enable-your-research/apply-for-access). SYS data is available upon request addressed to Dr Zdenka Pausova and Dr Tomáš Paus.

Reproduced under the paper's license (CC BY-NC), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 4 keywords, 12 MeSH terms, 3 funders, 60 references.

Cite

This paper

Navarri, X., Liao, Z., Hengenius, J. B., Bénitière, F., Jacquemont, S., Pausova, Z., & Paus, T. (2026). The tangential growth of the human visual cortex and maternal smoking during pregnancy. Cerebral cortex (New York, N.Y. : 1991), 36(7), bhag105. https://doi.org/10.1093/cercor/bhag105

BibTeX

@article{navarri2026tangential,
author = {Navarri, Xavier and Liao, Zhijie and Hengenius, James B and Bénitière, Florian and Jacquemont, Sébastien and Pausova, Zdenka and Paus, Tomáš},
title = {{The tangential growth of the human visual cortex and maternal smoking during pregnancy}},
journal = {Cerebral cortex (New York, N.Y. : 1991)},
year = {2026},
month = jul,
volume = {36},
number = {7},
pages = {bhag105},
publisher = {Oxford University Press},
issn = {1047-3211},
doi = {10.1093/cercor/bhag105},
url = {https://doi.org/10.1093/cercor/bhag105},
pmid = {42574748},
pmcid = {PMC13456333}
}

RIS

TY - JOUR
AU - Navarri, Xavier
AU - Liao, Zhijie
AU - Hengenius, James B
AU - Bénitière, Florian
AU - Jacquemont, Sébastien
AU - Pausova, Zdenka
AU - Paus, Tomáš
TI - The tangential growth of the human visual cortex and maternal smoking during pregnancy
T2 - Cerebral cortex (New York, N.Y. : 1991)
J2 - Cereb Cortex
PY - 2026
DA - 2026/07/01
VL - 36
IS - 7
SP - bhag105
SN - 1047-3211
PB - Oxford University Press
DO - 10.1093/cercor/bhag105
UR - https://doi.org/10.1093/cercor/bhag105
LA - en
ER -

CSL-JSON

{
"id": "10.1093/cercor/bhag105",
"type": "article-journal",
"title": "The tangential growth of the human visual cortex and maternal smoking during pregnancy",
"container-title": "Cerebral cortex (New York, N.Y. : 1991)",
"author": [
{
"family": "Navarri",
"given": "Xavier"
},
{
"family": "Liao",
"given": "Zhijie"
},
{
"family": "Hengenius",
"given": "James B"
},
{
"family": "Bénitière",
"given": "Florian"
},
{
"family": "Jacquemont",
"given": "Sébastien"
},
{
"family": "Pausova",
"given": "Zdenka"
},
{
"family": "Paus",
"given": "Tomáš"
}
],
"container-title-short": "Cereb Cortex",
"volume": "36",
"issue": "7",
"page": "bhag105",
"DOI": "10.1093/cercor/bhag105",
"PMID": "42574748",
"PMCID": "PMC13456333",
"ISSN": "1047-3211",
"publisher": "Oxford University Press",
"URL": "https://doi.org/10.1093/cercor/bhag105",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
1
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.21203/rs.3.rs-9246968/v1 [code]
Copy number variants reveal divergent genetic and diagnostic cortical signatures across psychiatric disorders
Journal: Research Square (preprint)
In common: pandas, 4 references, 2 authors
[2] doi:10.1038/s41467-026-76676-0 [code]
Determinants of functional burden pleiotropy and gene dosage responses across human traits.
Journal: Nature communications
In common: pandas, Matplotlib, ukbiobank.ac.uk/enable-your-research/apply-for-access, 3 references, author Sébastien Jacquemont
[3] doi:10.1038/s41398-026-04137-9 [code]
An integrative mendelian randomisation and drug mechanism framework for target prioritisation and therapeutic repurposing in major depression.
Journal: Translational psychiatry
In common: BCFtools, pandas, Matplotlib, ukbiobank.ac.uk/enable-your-research/apply-for-access, 1 reference
[4] doi:10.1038/s41467-026-71790-5 [code]
Recurrent DNA break clusters drive replication-stress-induced copy number variants and genome diversification.
Journal: Nature communications
In common: Snakemake, BCFtools, SAMtools, 2 other tools
[5] doi:10.1038/s41586-026-10612-6 [code]
Acquired genetic and cell-state changes in IDH-mutant glioma progression.
Journal: Nature
In common: Snakemake, BCFtools, SAMtools, 1 other tool, other condition
[6] doi:10.1038/s41467-026-74274-8 [code]
Regional sex differences in human cortical anatomy vary in their morphometric bases and overlap with sex chromosomal and gonadal influences.
Journal: Nature communications
In common: 7 references
[7] doi:10.1038/s41467-026-72598-z [code]
Functional impact of genetic background on variable expressivity in neurodevelopmental disorders.
Journal: Nature communications
In common: BCFtools, SAMtools, pandas, 1 other tool, other condition, 1 reference
[8] doi:10.1007/s00262-026-04390-3 [code]
Identification and prioritisation of tumour antigen candidates from 79 glioblastoma transcriptomes.
Journal: Cancer immunology, immunotherapy : CII
In common: BCFtools, SAMtools, pandas, 1 other tool, other condition, 1 reference
[9] doi:10.1038/s41586-026-10345-6 [code]
Population-scale repeat expansions elucidate disease risk and brain atrophy.
Journal: Nature
In common: BCFtools, SAMtools, pandas, 1 other tool, other condition, 1 reference
[10] doi:10.7554/elife.108109 [code]
Multimodal MRI marker of cognition explains the association between cognition and mental health in the UK Biobank.
Journal: eLife
In common: pandas, Matplotlib, ukbiobank.ac.uk/enable-your-research/apply-for-access, 2 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.