Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge Iframe embedding
swh:1:cnt:0b4675fb9b829ebf02b06a3cb8e58b75f5aa0556

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
#!/bin/bash
#SBATCH --output=filterSnps_%J.out
#SBATCH --mail-type=ALL
#SBATCH --time=72:00:00
#SBATCH --mail-user=austinhpatton@berkeley.edu
#SBATCH -p savio2
#SBATCH --account=ac_fishes
module load bio/vcftools/0.1.15

VCF='/global/scratch/austinhpatton/fitnessGenomics/genomes/GATK-FINAL/pupfishFitness_RTM1-2_Carib-FinalSamps-FINAL-SNPS.vcf.gz'
maf5dp7='/global/scratch/austinhpatton/fitnessGenomics/genomes/FilteredSNPs/Hybs-Miss.85-maf05-DP7'
dp7='/global/scratch/austinhpatton/fitnessGenomics/genomes/FilteredSNPs/Hybs-Miss.85-DP7'

vcftools \
	--gzvcf $VCF \
	--out $maf5dp7 \
	--maf 0.05 \
	--min-alleles 2 \
	--max-alleles 2 \
	--min-meanDP 7 \
	--max-meanDP 100 \
	--max-missing 0.85 \
	--remove-indels \
  --remove-indv LLHF011.2 \
	--remove-indv LLLF002 \
	--remove-indv LLHF003 \
  --remove-indv LLHF026 \
  --remove-indv CP06H05 \
  --remove-indv CP04B10 \
  --remove-indv CP07B03 \
	--remove-indv CP11C07 \
  --remove-indv CP14D08 \
  --remove-indv CP17A08 \
  --remove-indv CP17H10 \
	--remove-indv CP20A04 \
  --remove-indv APHFAS \
  --remove-indv CUATESS1 \
  --remove-indv MEG-Q1 \
  --remove-indv NCCA10-2 \
  --remove-indv NCCA7-2 \
  --remove-indv NCCA8-2 \
	--remove-indv BAVA10-2 \
	--remove-indv VENA1-2 \
	--recode-INFO-all \
	--recode

/global/home/users/austinhpatton/software/htslib-1.11/bgzip /global/scratch/austinhpatton/fitnessGenomics/genomes/FilteredSNPs/Hybs-Miss.85-maf05-DP7.recode.vcf
bcftools reheader -s SampRename.txt -o /global/scratch/austinhpatton/fitnessGenomics/genomes/FilteredSNPs/Hybs-Miss.85-maf05-DP7.reheadered.vcf.gz /global/scratch/austinhpatton/fitnessGenomics/genomes/FilteredSNPs/Hybs-Miss.85-maf05-DP7.recode.vcf.gz

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API